Add helper entrypoint scripts
This keeps the configuration for what to run inside the container, without adding the extra weight and config of s6
This commit is contained in:
parent
7d20ccd8d7
commit
4326dc2299
5 changed files with 23 additions and 1 deletions
|
@ -51,7 +51,7 @@ COPY --chown=website ./website ./website
|
|||
|
||||
RUN SECRET_KEY=none python manage.py collectstatic --noinput --clear
|
||||
|
||||
CMD python manage.py migrate --noinput && gunicorn -c etc/gunicorn.conf.py
|
||||
CMD ["/app/etc/entrypoints/web"]
|
||||
|
||||
# Just dev stuff
|
||||
FROM production as dev
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue