Fixed issue with tzdata file permissions
This commit is contained in:
parent
1c2b867f3c
commit
7b8a6a9aed
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue