Backend/Dockerfile

8 lines
194 B
Docker
Raw Normal View History

2024-04-06 04:55:48 +00:00
FROM fascinated/docker-images:java_17
2024-04-06 04:59:44 +00:00
RUN sudo apt install maven -y \
2024-04-06 04:55:48 +00:00
&& rm -rf /var/lib/apt/lists/*
RUN mvn clean package
CMD ["java", "-jar", "target/Minecraft-Helper-1.0-SNAPSHOT.jar"]