Dockerfile 226 B

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