DAS_2023_1/alexandrov_dmitrii_lab_2/worker-1/Dockerfile

16 lines
233 B
Docker
Raw Normal View History

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