Fix Dockerfile

Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
William Brawner 2020-09-05 12:16:55 -07:00
parent 6f2f6dec45
commit a31eec5e0a

View file

@ -9,4 +9,4 @@ RUN /home/gradle/src/gradlew --console=plain --no-daemon server:bootJar
FROM openjdk:14-jdk-slim
EXPOSE 8080
COPY --from=builder /home/gradle/src/server/build/libs/flayre-server.jar flayre-server.jar
CMD /usr/local/openjdk-14/bin/java $JVM_ARGS -jar /flayre-server.jar
CMD /usr/java/openjdk-14/bin/java $JVM_ARGS -jar /flayre-server.jar