From ee15fe770811fc1a7c1783a9ae2ed2fa49a117d0 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Sat, 5 Sep 2020 20:10:19 +0200 Subject: Use port 80 in docker image This makes it easier to use on Google cloud (host network mode) --- sw-server/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw-server') 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"] -- cgit