Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions workspaces/dcm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,12 @@ COPY --from=build /app/plugins/dcm-backend/config.d.ts plugins/dcm-backend/confi
COPY --from=build /app/packages/app/dist packages/app/dist
COPY app-config.yaml app-config.production.yaml ./

RUN chown -R node:node /app
USER node
# Fix OpenShift arbitrary UID compatibility:
# Set GID to 0 (root group) and mirror user permissions to group permissions (g=u)
RUN chown -R node:0 /app && \
chmod -R g=u /app

USER 1000

EXPOSE 7007

Expand Down
Loading