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"]