Merge pull request #413 from liyishuai/patch-1

Dockerfile: unbuffer stdout
这个提交包含在:
binary-husky
2023-04-11 20:15:10 +08:00
提交者 GitHub
当前提交 76940a3041

查看文件

@@ -5,9 +5,10 @@ RUN echo '[global]' > /etc/pip.conf && \
echo 'trusted-host = mirrors.aliyun.com' >> /etc/pip.conf
COPY . /gpt
WORKDIR /gpt
COPY requirements.txt .
RUN pip3 install -r requirements.txt
COPY . .
CMD ["python3", "main.py"]
CMD ["python3", "-u", "main.py"]