Dockerfile 229 B

1234567891011
  1. FROM feick/alpine-java
  2. VOLUME /app
  3. WORKDIR /app
  4. ADD target/*.jar app.jar
  5. ENTRYPOINT ["sh", "-c", "java -Dserver.port=8080 -Duser.timezone=GMT+8 -Dspring.profiles.active=cloud ${JAVA_OPTS} -jar app.jar ${0} ${@}"]
  6. EXPOSE 8080