mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 14:15:22 +02:00
Add dockerfile
This commit is contained in:
parent
752e7e6e4a
commit
4d4ef4fec1
1 changed files with 8 additions and 0 deletions
8
Dockerfile
Normal file
8
Dockerfile
Normal 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
|
||||
RUN java -jar geyser-connect.jar
|
Loading…
Add table
Reference in a new issue