DAS_2023_1/sergeev_evgenii_lab_2/service1/Dockerfile
Евгений Сергеев bb78e6823b done!
2024-01-16 16:05:42 +04:00

15 lines
230 B
Docker

FROM python:3.11
ENV LISTEN_PORT=8081
EXPOSE 8081
RUN ["mkdir", "/work"]
RUN ["mkdir", "/var/data"]
RUN ["mkdir", "/var/result"]
RUN pip install Flask
WORKDIR /work
COPY index.html service1.py ./
CMD ["python", "service1.py"]