DAS_2023_1/alexandrov_dmitrii_lab_2/worker-2/Dockerfile

15 lines
218 B
Docker
Raw Normal View History

2023-11-17 00:44:42 +04:00
FROM python:3.9
ENV LISTEN_PORT=8082
EXPOSE 8082
RUN ["mkdir", "/work"]
RUN ["mkdir", "/var/result"]
RUN pip install Flask
WORKDIR /work
COPY template.html result.html worker-2.py ./
CMD ["python", "worker-2.py"]