mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
feat(dockerfile): provide the group with the same file permissions as the user.
This commit is contained in:
parent
e8babe62bc
commit
db010af222
@ -153,6 +153,10 @@ COPY --chown=$UID:$GID --from=build /app/package.json /app/package.json
|
|||||||
# copy backend files
|
# copy backend files
|
||||||
COPY --chown=$UID:$GID ./backend .
|
COPY --chown=$UID:$GID ./backend .
|
||||||
|
|
||||||
|
# provide group with same permissions as user
|
||||||
|
# allows running in OpenShift
|
||||||
|
RUN chmod -R g=u /app $HOME
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
HEALTHCHECK CMD curl --silent --fail http://localhost:${PORT:-8080}/health | jq -ne 'input.status == true' || exit 1
|
HEALTHCHECK CMD curl --silent --fail http://localhost:${PORT:-8080}/health | jq -ne 'input.status == true' || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user