Skip to content

Commit

Permalink
Merge pull request #1652 from psu-libraries/updateUI
Browse files Browse the repository at this point in the history
adding changes to Dockerfile
  • Loading branch information
bryanlopezrr authored Nov 7, 2024
2 parents ee020d5 + 05230da commit fd1aff9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM harbor.k8s.libraries.psu.edu/library/ruby-3.1.2-node-16:20240701 as base
ARG UID=2000
ARG UID=3000

COPY bin/vaultshell /usr/local/bin/
USER root
Expand All @@ -14,6 +14,9 @@ RUN apt-get update && \
COPY config/policy.xml /etc/ImageMagick-6/policy.xml
RUN useradd -u $UID app -d /app
RUN mkdir /app/tmp
# adding this in attempts to see what happens with permissions
RUN mkdir /tmp/app/
RUN chown app:app /tmp/app && chmod 775 /tmp/app
RUN chown -R app /app
USER app

Expand Down

0 comments on commit fd1aff9

Please sign in to comment.