mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
ci: 修改dockerfile
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -1,15 +1,8 @@
|
||||
FROM python:3.10.13-bullseye
|
||||
WORKDIR /QChatGPT
|
||||
WORKDIR /app
|
||||
|
||||
COPY . /QChatGPT/
|
||||
COPY . .
|
||||
|
||||
RUN ls
|
||||
RUN python -m pip install -r requirements.txt
|
||||
|
||||
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
|
||||
|
||||
CMD [ "python", "main.py" ]
|
||||
CMD [ "python", "start.py" ]
|
||||
Reference in New Issue
Block a user