From 761c9339ffe85f440c4e46325c29907ee1e913b6 Mon Sep 17 00:00:00 2001 From: Gavin McDonald Date: Wed, 14 May 2025 15:26:45 -0400 Subject: [PATCH] writable labels directory for Docker images --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3e8bb86..49dcb74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -86,8 +86,10 @@ ENV LC_ALL=en_US.UTF-8 WORKDIR "/app" +# configure the directory for generated images +# probably need some better permissions here RUN mkdir -p /app/_build/prod/lib/labelmaker/priv/static/labels -RUN chmod -R 775 /app/_build/prod/lib/labelmaker/priv/static/labels +RUN chmod -R 777 /app/_build/prod/lib/labelmaker/priv/static/labels RUN chown nobody /app