Crabstero/Dockerfile
Logan Fick 173ace899b
All checks were successful
Build Distribution / Build (push) Successful in 12s
Updated dependencies.
2024-05-18 21:48:58 -04:00

10 lines
374 B
Docker

FROM gradle:8.7.0-jdk17-alpine AS build
COPY . /home/gradle/Crabstero
WORKDIR /home/gradle/Crabstero
RUN gradle build --no-daemon
FROM eclipse-temurin:17.0.11_9-jre-alpine AS run
COPY --from=build /home/gradle/Crabstero/build/distributions/Crabstero.tar /
RUN tar -xvf Crabstero.tar && rm /Crabstero.tar /Crabstero/bin/Crabstero.bat
ENTRYPOINT ["/Crabstero/bin/Crabstero"]