mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
ci(Dockerfile): 修复依赖安装问题
This commit is contained in:
parent
2da5a9f3c7
commit
ec6c041bcf
|
@ -1,13 +1,13 @@
|
|||
FROM python:3.10.13-alpine3.18
|
||||
FROM python:3.10.13-bullseye
|
||||
WORKDIR /QChatGPT
|
||||
|
||||
COPY . /QChatGPT/
|
||||
|
||||
RUN ls
|
||||
|
||||
RUN pip install -r requirements.txt && \
|
||||
pip install -U websockets==10.0 && \
|
||||
pip install -U httpcore httpx openai
|
||||
RUN python -m pip install -r requirements.txt && \
|
||||
python -m pip install -U websockets==10.0 && \
|
||||
python -m pip install -U httpcore httpx openai
|
||||
|
||||
# 生成配置文件
|
||||
RUN python main.py
|
||||
|
|
Loading…
Reference in New Issue
Block a user