Skip to content

Commit 5903ef0

Browse files
authored
Merge pull request #1157 from dataquest-dev/palo-docker-user-fix
more descriptive comment added
2 parents 739e508 + 5b7fdcd commit 5903ef0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ RUN ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/server
8181
WORKDIR /usr/local/tomcat/bin
8282
RUN chmod u+x redebug.sh undebug.sh custom_run.sh
8383

84+
# For security reason (requirement on some cloud platforms) we want run dspace as non-root user.
8485
RUN chown -R ubuntu:ubuntu /dspace /usr/local/tomcat
8586

8687
USER ubuntu

0 commit comments

Comments
 (0)