Spaces:
Runtime error
Runtime error
Merge pull request #413 from liyishuai/patch-1
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -5,9 +5,10 @@ RUN echo '[global]' > /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"]
|
|
|
5 |
echo 'trusted-host = mirrors.aliyun.com' >> /etc/pip.conf
|
6 |
|
7 |
|
|
|
8 |
WORKDIR /gpt
|
9 |
+
COPY requirements.txt .
|
10 |
RUN pip3 install -r requirements.txt
|
11 |
|
12 |
+
COPY . .
|
13 |
|
14 |
+
CMD ["python3", "-u", "main.py"]
|