💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 自定义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 ```