pull/157/merge
ferrym 2024-09-30 04:08:35 -04:00 committed by GitHub
commit 2f1013e875
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM python:3.7
WORKDIR /app
COPY . /app
ENV PIP_INDEX_URL https://pypi.tuna.tsinghua.edu.cn/simple
RUN pip install --upgrade pip && \
pip install -r requirements.txt --no-cache-dir
CMD [ "python","web_demo.py" ]

6
docker-compose.yml Normal file
View File

@ -0,0 +1,6 @@
version: '3.9'
services:
chatglm:
build: .
ports:
- "5000:5000"