Skip to content

Commit

Permalink
ci(Dockerfile): 修复依赖安装问题
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Nov 12, 2023
1 parent 2da5a9f commit ec6c041
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ec6c041

Please sign in to comment.