Fix entrypoint script path and update permissions for execution
All checks were successful
Build and push Docker image / build (push) Successful in 1m36s
All checks were successful
Build and push Docker image / build (push) Successful in 1m36s
This commit is contained in:
parent
100773c958
commit
fc68368f3f
2 changed files with 2 additions and 2 deletions
|
@ -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
2
entrypoint.sh
Normal file → Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue