Skip to content

Commit

Permalink
Update Dockerfile projects dir
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilianoPizarro authored Jan 31, 2025
1 parent b5aaa93 commit 4b039b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ RUN \
USER root
RUN \
npm install -g generator-jhipster-azure-spring-apps

RUN mkdir /projects && chown -r jhipster:jhipster /projects
USER jhipster

ENV SPRING_OUTPUT_ANSI_ENABLED=ALWAYS \
JHIPSTER_SLEEP=0 \
Expand All @@ -21,3 +24,4 @@ CMD echo "The application will start in ${JHIPSTER_SLEEP}s..." && \
sleep ${JHIPSTER_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /home/jhipster/jhonline*.war
EXPOSE 8080

0 comments on commit 4b039b2

Please sign in to comment.