diff --git a/Dockerfile b/Dockerfile index 7e7eeaa..5af2d67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,4 @@ ENV NUMMI_CONFIG=/nummi/config.toml RUN uv sync --locked -CMD ["./entrypoint.sh"] +CMD ["/app/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh old mode 100644 new mode 100755 index 0312989..370a6fe --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 \ No newline at end of file