planetwars.dev/examples/java/Dockerfile
2023-11-20 16:34:47 +01:00

5 lines
No EOL
156 B
Docker

FROM amazoncorretto:21
WORKDIR /app
COPY . .
RUN javac -cp .:lib/gson-2.10.1.jar ./planetwars/*.java Example.java
CMD java -cp .:lib/gson-2.10.1.jar Example