FROM openjdk:17 RUN mkdir /var/data RUN mkdir /var/result EXPOSE 8080 WORKDIR /opt/worker COPY worker1.jar /opt/worker CMD ["java", "-jar", "/opt/worker/worker1.jar"]