Merge branch 'API-rest' of https://gitea.prod.resk-u.ch/CLERC/Reskreen into API-rest
This commit is contained in:
@@ -8,6 +8,7 @@ COPY crons_jobs /etc/cron.d/django_crons_jobs
|
||||
RUN chmod 0644 /etc/cron.d/django_crons_jobs && crontab /etc/cron.d/django_crons_jobs && touch /var/log/cron.log
|
||||
|
||||
|
||||
RUN apk update && apk add --no-cache mariadb-connector-c-dev && apk add --no-cache gcc musl-dev openrc
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN python manage.py makemigrations && python manage.py migrate
|
||||
|
||||
@@ -15,3 +16,4 @@ RUN python manage.py makemigrations && python manage.py migrate
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["python", "manage.py", "runserver", "0.0.0.0:8080"]
|
||||
#CMD ["crond","-f"]
|
Reference in New Issue
Block a user