entrypoint to cmd

This commit is contained in:
hllvc 2021-07-11 00:16:35 +02:00
parent 96e172ee56
commit dc2414a2f9

View file

@ -3,5 +3,4 @@ VOLUME [ ".m2" ]
VOLUME [ "/app" ]
WORKDIR /app
EXPOSE 8080
ENTRYPOINT [ "java" ]
CMD [ "-jar", "-Dspring.profiles.active=mysql" ,"app.jar" ]
CMD [ "java", "-jar", "-Dspring.profiles.active=mysql" ,"app.jar" ]