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"]