Fix entrypoint script path and update permissions for execution
All checks were successful
Build and push Docker image / build (push) Successful in 1m36s

This commit is contained in:
Edgar P. Burkhart 2025-05-08 21:07:28 +02:00
parent 100773c958
commit fc68368f3f
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 2 additions and 2 deletions

View file

@ -14,4 +14,4 @@ ENV NUMMI_CONFIG=/nummi/config.toml
RUN uv sync --locked
CMD ["./entrypoint.sh"]
CMD ["/app/entrypoint.sh"]

2
entrypoint.sh Normal file → Executable file
View file

@ -1,5 +1,5 @@
#!/usr/bin/env sh
cd nummi
cd /app/nummi
uv run manage.py collectstatic --noinput
uv run manage.py migrate --noinput
uv run gunicorn --bind :8000 --workers 2 nummi.wsgi:application