Skip to content

Commit

Permalink
Merge pull request #166 from linhaojun857/dev
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
linhaojun857 authored Feb 10, 2024
2 parents 7a4282a + bec1630 commit f355e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aurora-springboot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ RUN rm -f /etc/localtime \
&& ln -sv /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone
COPY target/aurora-springboot-0.0.1.jar /app/aurora-springboot-0.0.1.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app/aurora-springboot-0.0.1.jar","--spring.config.location=/config/application.yml"]
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app/aurora-springboot-0.0.1.jar","--spring.config.location=/config/application-prod.yml"]
EXPOSE 8080

0 comments on commit f355e03

Please sign in to comment.