10 lines
181 B
Docker
10 lines
181 B
Docker
|
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"]
|