Spaces:
Paused
Paused
Your Name
commited on
Commit
•
3de941e
1
Parent(s):
2120c07
Fix dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -4,10 +4,10 @@ RUN echo '[global]' > /etc/pip.conf && \
|
|
4 |
echo 'index-url = https://mirrors.aliyun.com/pypi/simple/' >> /etc/pip.conf && \
|
5 |
echo 'trusted-host = mirrors.aliyun.com' >> /etc/pip.conf
|
6 |
|
7 |
-
RUN pip3 install gradio requests[socks] mdtex2html
|
8 |
|
9 |
COPY . /gpt
|
10 |
WORKDIR /gpt
|
|
|
11 |
|
12 |
|
13 |
CMD ["python3", "main.py"]
|
|
|
4 |
echo 'index-url = https://mirrors.aliyun.com/pypi/simple/' >> /etc/pip.conf && \
|
5 |
echo 'trusted-host = mirrors.aliyun.com' >> /etc/pip.conf
|
6 |
|
|
|
7 |
|
8 |
COPY . /gpt
|
9 |
WORKDIR /gpt
|
10 |
+
RUN pip3 install -r requirements.txt
|
11 |
|
12 |
|
13 |
CMD ["python3", "main.py"]
|