summaryrefslogtreecommitdiff
path: root/sw-server/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'sw-server/Dockerfile')
-rw-r--r--sw-server/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-server/Dockerfile b/sw-server/Dockerfile
index a8dd4ff6..79b2c9c4 100644
--- a/sw-server/Dockerfile
+++ b/sw-server/Dockerfile
@@ -9,4 +9,4 @@ ENV PORT 80
ARG JAR_FILE=build/libs/sw-server.jar
COPY ${JAR_FILE} app.jar
-ENTRYPOINT ["java", "-Dserver.port=$PORT", "-jar", "/app.jar"]
+ENTRYPOINT ["sh", "-c", "java -Dserver.port=$PORT -jar /app.jar"]
bgstack15