From 7b8a6a9aed9c6e145c3739d0100e54830d62a9e9 Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Tue, 7 May 2024 16:59:02 -0700 Subject: [PATCH] Fixed issue with tzdata file permissions --- selfhosted.Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfhosted.Dockerfile b/selfhosted.Dockerfile index 8a538ec..1df3d3e 100644 --- a/selfhosted.Dockerfile +++ b/selfhosted.Dockerfile @@ -126,6 +126,8 @@ EXPOSE ${PORT} # Only copy the final release from the build stage COPY --from=builder /app/_build/${MIX_ENV}/rel/pinchflat ./ +# Update permissions to let the app write the tzdata files +RUN chmod ugo+rw /app/lib/tzdata-*/priv/* # NEVER do this if you're running in an environment where you don't trust the user # (ie: most environments). This is only acceptable in a self-hosted environment.