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