Update Dockerfile

This commit is contained in:
O O 2022-12-24 10:25:04 +00:00
parent def03027b0
commit 2ce1422fbd

View File

@ -5,8 +5,8 @@ COPY . .
# Package it # Package it
RUN mvn package && mv /target/Habbo*-with-dependencies.jar /target/Habbo.jar RUN mvn package && mv /target/Habbo*-with-dependencies.jar /target/Habbo.jar
# Use Java 8 for running # Use openjdk 11 for running
FROM java:8 AS runner FROM openjdk:11 AS runner
# Copy the generated source # Copy the generated source
COPY --from=builder /target/Habbo.jar / COPY --from=builder /target/Habbo.jar /