duyangang %!s(int64=2) %!d(string=hai) anos
pai
achega
420ed35221
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -23,6 +23,6 @@ From openjdk:8-jre-alpine
 # copy jar from the first stage
 COPY --from=builder /build/trunk/target/*.jar app.jar
 
-EXPOSE 8080
+EXPOSE 80
 
-ENTRYPOINT [ "sh", "-c", "java -jar -XX:MaxPermSize=2048M -Dserver.port=8080 -Dspring.profiles.active=test app.jar"]
+ENTRYPOINT [ "sh", "-c", "java -jar -XX:MaxPermSize=2048M -Dserver.port=80 -Dspring.profiles.active=test app.jar"]