Compare commits

..

2 commits

Author SHA1 Message Date
Student User
ee5a10dfcf and remove the minus 2021-07-07 06:11:39 -04:00
Student User
c90a57b86b fixed execute rights and changed the user 2021-07-07 06:09:53 -04:00

View file

@ -17,12 +17,12 @@ ADD https://github.com/RedHatTraining/DO288-apps/releases/download/OCP-4.1-1/h
COPY run-app.sh /opt/app-root/bin/
RUN chown -R wildfly:wildfly /opt/app-root && \
chmod -R 700 /opt/app-root
RUN chown -R 0 /opt/app-root && \
chmod -R g=u /opt/app-root
EXPOSE 8080
USER wildfly
USER 1001
# Run the fat JAR
CMD /opt/app-root/bin/run-app.sh