From a43b1eabba66901ad2d8689ba058361e8730390c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Meadows-J=C3=B6nsson?= Date: Mon, 13 Jan 2025 07:11:04 +0100 Subject: [PATCH] Add permissions to runtime dirs --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24610e4..192e2c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,8 +71,8 @@ COPY etc/boto /app/.boto WORKDIR /app COPY --from=build /app/_build/prod/rel/bob ./ -RUN mkdir /boto /tarsnap -RUN chown -R nobody: /app /boto /tarsnap +RUN mkdir /boto /persist /tarsnap +RUN chown -R nobody: /app /boto /persist /tarsnap USER nobody ENV HOME=/app