15 lines
230 B
Docker
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"] |