diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2021-01-28 11:35:26 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2021-01-28 11:36:41 +0100 |
commit | d561a6e8bcd78379c0a49d4291ebe33e85ee87fe (patch) | |
tree | 33e9bdc7b43ccbe915cad7296bdb382c498ecd7e /sw-server/Dockerfile | |
parent | Remove "missing feature" from README - it's done! (diff) | |
download | seven-wonders-d561a6e8bcd78379c0a49d4291ebe33e85ee87fe.tar.gz seven-wonders-d561a6e8bcd78379c0a49d4291ebe33e85ee87fe.tar.bz2 seven-wonders-d561a6e8bcd78379c0a49d4291ebe33e85ee87fe.zip |
Fix PORT variable substitution in Dockerfile
Resolves:
https://github.com/joffrey-bion/seven-wonders/issues/77
Diffstat (limited to 'sw-server/Dockerfile')
-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"] |