mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-04 20:14:57 +08:00
Relax app directory permissions in Docker (#1193)
This commit is contained in:
parent
70ccaafa14
commit
ec6de91674
1 changed files with 3 additions and 3 deletions
|
@ -76,8 +76,8 @@ ENV LIVEBOOK_HOME=/data
|
|||
# Copy the release build from the previous stage
|
||||
COPY --from=build /app/_build/prod/rel/livebook /app
|
||||
|
||||
# Make release executables available to any user,
|
||||
# in case someone runs the container with `--user`
|
||||
RUN find /app -executable -type f -exec chmod +x {} +
|
||||
# Make release files available to any user, in case someone
|
||||
# runs the container with `--user`
|
||||
RUN chmod -R go=u /app
|
||||
|
||||
CMD [ "/app/bin/livebook", "start" ]
|
||||
|
|
Loading…
Add table
Reference in a new issue