refactor(api/Dockerfile): move var default values to Dockerfile

This commit is contained in:
JuniorJPDJ 2022-07-16 20:16:13 +02:00
commit aad853f6b0
2 changed files with 3 additions and 12 deletions

View file

@ -91,5 +91,8 @@ WORKDIR /app
RUN find . -type d -exec chmod 755 {} \+
ENV CACHE_URL="redis://redis:6379/0"
ENV CELERY_BROKER_URL="redis://redis:6379/0"
ENTRYPOINT ["./compose/django/entrypoint.sh"]
CMD ["./compose/django/server.sh"]