Dockerfile.run fix

This commit is contained in:
hllvc 2021-07-11 13:40:44 +02:00
parent e51e237a55
commit 3ce595938c

View file

@ -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" ]