diff options
Diffstat (limited to 'sw-server')
-rw-r--r-- | sw-server/Dockerfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sw-server/Dockerfile b/sw-server/Dockerfile new file mode 100644 index 00000000..226227b9 --- /dev/null +++ b/sw-server/Dockerfile @@ -0,0 +1,8 @@ +FROM openjdk:11-jre + +EXPOSE 8090 + +ARG JAR_FILE=build/libs/sw-server.jar +COPY ${JAR_FILE} app.jar + +ENTRYPOINT ["java", "-Dserver.port=8090", "-jar", "/app.jar"] |