diff options
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -17,7 +17,6 @@ ENV DJANGO_SETTINGS_MODULE=conf.settings.prod # Install Python dependencies RUN pip install -U "pip>=24.0.0" && \ pip install -r requirements.txt && \ - python manage.py collectstatic --noinput RUN mkdir -p /app/static/css /app/static/js /app/static/img @@ -25,4 +24,6 @@ RUN mkdir -p /app/static/css /app/static/js /app/static/img USER 1001 # Start app -CMD ["gunicorn", "ded.wsgi:application", "--bind", "0.0.0.0:8000"] + +RUN chmod +x docker-entrypoint.sh +ENTRYPOINT ["/app/docker-entrypoint.sh"] |