chown app directory during dependency images build (#8035)

This commit is contained in:
William Welling
2021-11-23 11:04:51 -06:00
committed by GitHub
parent 5fe021d28d
commit 1db8e382d5

View File

@@ -12,6 +12,9 @@ WORKDIR /app
RUN useradd dspace \
&& mkdir /home/dspace \
&& chown -Rv dspace: /home/dspace
RUN chown -Rv dspace: /app
USER dspace
# Copy the DSpace source code into the workdir (excluding .dockerignore contents)