binary-husky commited on
Commit
a8399d2
2 Parent(s): d41d0db 4a4fb66

Merge pull request #413 from liyishuai/patch-1

Browse files
Files changed (1) hide show
  1. 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"]