DAS_2023_1/shadaev_anton_lab_2/worker2/Dockerfile

12 lines
171 B
Docker
Raw Normal View History

2023-12-13 23:36:59 +04:00
FROM openjdk:17
RUN mkdir /var/data
RUN mkdir /var/result
EXPOSE 8080
WORKDIR /opt/worker
COPY worker2.jar /opt/worker
CMD ["java", "-jar", "/opt/worker/worker2.jar"]