Backend/Dockerfile
Liam dca3978a4d
Some checks failed
deploy / deploy (push) Failing after 1m5s
7
2024-04-08 05:01:40 +01:00

13 lines
242 B
Docker

FROM eclipse-temurin:17.0.10_7-jdk-focal
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y maven
COPY . .
RUN mvn package -q
EXPOSE 80
ENV PORT=80
CMD ["java", "-jar", "target/Minecraft-Helper-1.0-SNAPSHOT.jar"]