lizw il y a 1 an
Parent
commit
9449aec85d
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      Dockerfile

+ 7 - 0
Dockerfile

@@ -0,0 +1,7 @@
+FROM openjdk:8u342-oracle as prod
+
+COPY soap-gateway/build/libs/soap-gateway-0.0.0-SNAPSHOT.jar /app/soap-gateway-0.0.0-SNAPSHOT.jar
+
+WORKDIR /app
+ENTRYPOINT exec java ${JAVA_MEM_OPTS} ${DATABASE_OPTS} ${JAVA_OPTS_EXT} -jar /app/soap-gateway-0.0.0-SNAPSHOT.jar --spring.profiles.active=${SPRING_PROFILES} --server.port=8080 ${SPRING_CONFIG}
+EXPOSE 8080