mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Dockerfile.run fix
This commit is contained in:
parent
e51e237a55
commit
3ce595938c
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
FROM openjdk:8-jre-alpine
|
FROM openjdk:8-jre-alpine
|
||||||
VOLUME [ "/app" ]
|
# VOLUME [ "/app" ]
|
||||||
WORKDIR /app/target
|
WORKDIR /app
|
||||||
|
COPY /app/target/app.jar .
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD [ "java", "-jar", "-Dspring.profiles.active=mysql" ,"app.jar" ]
|
CMD [ "java", "-jar", "-Dspring.profiles.active=mysql" ,"app.jar" ]
|
||||||
|
|
Loading…
Reference in a new issue