修改Dockerfile
This commit is contained in:
parent
847f6db5b7
commit
877dbad7fc
|
@ -16,6 +16,7 @@ tests/*
|
|||
# C extensions
|
||||
*.so
|
||||
logs/*.log
|
||||
!logs/test.log
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
|
|
|
@ -12,10 +12,6 @@ ENV PYTHONDONTWRITEBYTECODE 1
|
|||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
RUN mkdir logs
|
||||
RUN touch logs/test.log
|
||||
RUN ls logs
|
||||
|
||||
RUN mkdir ~/.pip
|
||||
RUN echo "[global]" > ~/.pip/pip.conf
|
||||
RUN echo "index-url = https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf
|
||||
|
|
Loading…
Reference in New Issue