From fc68368f3f9a0a46802a3878a491590c4236cda0 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Thu, 8 May 2025 21:07:28 +0200 Subject: [PATCH] Fix entrypoint script path and update permissions for execution --- Dockerfile | 2 +- entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 entrypoint.sh 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