summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-09-05 20:10:19 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-09-05 20:11:19 +0200
commitee15fe770811fc1a7c1783a9ae2ed2fa49a117d0 (patch)
tree87ca4fa0eb8c854b121646d08692c55446dfe360
parentUse specific token for GitHub container registry (diff)
downloadseven-wonders-ee15fe770811fc1a7c1783a9ae2ed2fa49a117d0.tar.gz
seven-wonders-ee15fe770811fc1a7c1783a9ae2ed2fa49a117d0.tar.bz2
seven-wonders-ee15fe770811fc1a7c1783a9ae2ed2fa49a117d0.zip
Use port 80 in docker image
This makes it easier to use on Google cloud (host network mode)
-rw-r--r--sw-server/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw-server/Dockerfile b/sw-server/Dockerfile
index 226227b9..7c372052 100644
--- a/sw-server/Dockerfile
+++ b/sw-server/Dockerfile
@@ -1,8 +1,8 @@
FROM openjdk:11-jre
-EXPOSE 8090
+EXPOSE 80
ARG JAR_FILE=build/libs/sw-server.jar
COPY ${JAR_FILE} app.jar
-ENTRYPOINT ["java", "-Dserver.port=8090", "-jar", "/app.jar"]
+ENTRYPOINT ["java", "-Dserver.port=80", "-jar", "/app.jar"]
bgstack15