This commit is contained in:
Jack 2022-11-07 15:08:40 +01:00 committed by GitHub
commit 1d32fe03ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

8
Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM maven:latest AS build
COPY . .
RUN mvn package
# Result is in /target/geyser-connect-(...).jar
FROM openjdk:15-alpine
COPY --from=build target/geyser-connect-*.jar geyser-connect.jar
CMD java -jar geyser-connect.jar