QChatGPT/Dockerfile
2023-09-12 10:21:03 +00:00

14 lines
218 B
Docker

FROM python:3.10.13-alpine3.18
WORKDIR /QChatGPT
COPY . /QChatGPT/
RUN ls
RUN pip install -r requirements.txt
RUN pip install -U websockets==10.0
# 生成配置文件
RUN python main.py
CMD [ "python", "main.py" ]