Skip to content
Snippets Groups Projects
Commit d97b7340 authored by Benedikt's avatar Benedikt
Browse files

Set permissions on app directory and use correct user

parent e56660e5
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,8 @@ ENV MAVEN_HOME /usr/share/maven
# Add configuration files, bashrc and other tweaks
COPY ./s2i/bin/ $STI_SCRIPTS_PATH
USER default
RUN chown -R 1001:0 /opt/app-root
USER 1001
# Set the default CMD to print the usage of the language image
CMD $STI_SCRIPTS_PATH/usage
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment