diff --git a/Dockerfile b/Dockerfile index 6d0e6c0f5..e52b23cca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM harbor.k8s.libraries.psu.edu/library/ruby-3.1.2-node-16:20240701 as base -ARG UID=3000 +ARG UID=2000 COPY bin/vaultshell /usr/local/bin/ USER root @@ -13,11 +13,6 @@ RUN apt-get update && \ COPY config/policy.xml /etc/ImageMagick-6/policy.xml RUN useradd -u $UID app -d /app - -# 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 mkdir /app/tmp RUN chown -R app /app USER app