mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:15: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
|
||||
VOLUME [ "/app" ]
|
||||
WORKDIR /app/target
|
||||
# VOLUME [ "/app" ]
|
||||
WORKDIR /app
|
||||
COPY /app/target/app.jar .
|
||||
EXPOSE 8080
|
||||
CMD [ "java", "-jar", "-Dspring.profiles.active=mysql" ,"app.jar" ]
|
||||
|
|
Loading…
Reference in a new issue