From a498971d6681bb67ec06f4d8dded4575a265f91d Mon Sep 17 00:00:00 2001 From: moanos Date: Sun, 9 Nov 2025 17:36:48 +0100 Subject: [PATCH] feat: create directory in one go, don't use cache dir and use more standard entrypoint.sh --- Dockerfile | 7 +++---- docker/{notfellchen.bash => entrypoint.sh} | 0 2 files changed, 3 insertions(+), 4 deletions(-) rename docker/{notfellchen.bash => entrypoint.sh} (100%) diff --git a/Dockerfile b/Dockerfile index def4af9..cd89d8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,15 +9,14 @@ RUN apt install gettext -y RUN apt install libpq-dev gcc -y COPY . /app WORKDIR /app -RUN mkdir /app/data -RUN mkdir /app/data/static +RUN mkdir /app/data/static -p RUN mkdir /app/data/media -RUN pip install -e . # Without the -e the library static folder will not be copied by collectstatic! +RUN pip install --no-cache-dir -e . # Without the -e the library static folder will not be copied by collectstatic! RUN nf collectstatic --noinput RUN nf compilemessages --ignore venv -COPY docker/notfellchen.bash /bin/notfellchen +COPY docker/entrypoint.sh /bin/notfellchen EXPOSE 7345 CMD ["notfellchen"] diff --git a/docker/notfellchen.bash b/docker/entrypoint.sh similarity index 100% rename from docker/notfellchen.bash rename to docker/entrypoint.sh