Skip to content

Commit

Permalink
build: don't chown old webui directory
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Jan 15, 2025
1 parent 6b5e58d commit 29d0a86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile-openshift
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ ENV LD_LIBRARY_PATH=/usr/local/lib
COPY --from=builder /opt/app-root/src/bin/server /bin/server

# Set final permissions and switch to non-root user
RUN chown -R 1001:0 /bin/server /watchman && \
chmod -R g=u /bin/server /watchman
RUN chown -R 1001:0 /bin/server && chmod -R g=u /bin/server
USER 1001

ENTRYPOINT ["/bin/server"]

0 comments on commit 29d0a86

Please sign in to comment.