pixelchat/Dockerfile

9 lines
284 B
Text
Raw Normal View History

2024-12-16 15:17:23 +00:00
FROM eclipse-temurin:21-jdk-alpine AS builder
WORKDIR /src
COPY . ./
RUN chmod +x ./gradlew && ./gradlew :server:shadowJar
FROM eclipse-temurin:21-jdk-alpine AS runner
COPY --from=builder /src/server/build/libs/*-all.jar /bin/pixelchat.jar
CMD ["java", "-jar", "/bin/pixelchat.jar"]