1FROM python:alpine3.7
2COPY . /app
3WORKDIR /app
4RUN pip install -r requirements.txt # Write Flask in this file
5EXPOSE 5001
6ENTRYPOINT [ "python" ]
7CMD [ "app.py" ]
1$ docker run -p 8000:8000 -it python:3.7-slim python3 -m http.server --bind 0.0.0.0
2