Compare commits

...

1 commit

Author SHA1 Message Date
fc68368f3f
Fix entrypoint script path and update permissions for execution
All checks were successful
Build and push Docker image / build (push) Successful in 1m36s
2025-05-08 21:07:28 +02:00
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