DAS_2023_1/arutunyan_dmitry_lab_2/worker-1/Dockerfile

10 lines
181 B
Docker
Raw Normal View History

2023-11-12 16:11:18 +04:00
FROM openjdk:21-jdk
RUN ["mkdir", "/var/data"]
RUN ["mkdir", "/var/result"]
COPY src/Main.java /opt/app/Main.java
WORKDIR /opt/app
RUN ["javac", "Main.java"]
CMD ["java", "Main"]