diff options
-rw-r--r-- | sw-server/Dockerfile | 2 |
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"] |