How To Build and Deploy a Flask Application Using Docker on Ubuntu code example
Example: flask docker
FROM python:alpine3.7
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt # Write Flask in this file
EXPOSE 5001
ENTRYPOINT [ "python" ]
CMD [ "app.py" ]