## 自定义Dockerfile运行flask
Dockerfile:
```
FROM python:3
LABEL maintainer="7740280@qq.com"
RUN pip install flask
COPY app.py /app/
WORKDIR /app
EXPOSE 5000
CMD ["python3","app.py"]
```
build :
```
docker build --network=host -t 7740280/flask-app .
```
run:
```
docker run -d --network=host 7740280/flask-app
```
测试:
```
curl 127.0.0.1:5000
```
结果:
```
hello world
```