This repository has been archived on 2023-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
web-gpt/Dockerfile

9 lines
444 B
Docker
Raw Normal View History

2023-04-02 16:12:25 +08:00
FROM alpine
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
RUN apk add git python3 py3-pip
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
2023-04-02 16:28:32 +08:00
RUN python3 -m pip install --upgrade pip && pip3 install --upgrade setuptools
2023-04-19 00:42:36 +08:00
COPY ./project /web-gpt/project
RUN pip3 install -r /web-gpt/project/requirements.txt
2023-04-08 10:41:13 +08:00
CMD cd /web-gpt && waitress-serve --listen 0.0.0.0:5000 project:app