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