Backend/Dockerfile

10 lines
162 B
Docker
Raw Normal View History

2024-04-06 04:55:48 +00:00
FROM fascinated/docker-images:java_17
2024-04-06 05:07:01 +00:00
COPY . .
2024-04-06 18:37:03 +00:00
RUN mvn clean package -q
2024-04-06 04:55:48 +00:00
2024-04-06 05:21:30 +00:00
EXPOSE 80
ENV PORT=80
2024-04-06 05:06:19 +00:00
2024-04-06 04:55:48 +00:00
CMD ["java", "-jar", "target/Minecraft-Helper-1.0-SNAPSHOT.jar"]