修改Dockerfile

This commit is contained in:
AKW 2023-12-13 16:23:05 +08:00
parent 847f6db5b7
commit 877dbad7fc
2 changed files with 1 additions and 4 deletions

1
.gitignore vendored
View File

@ -16,6 +16,7 @@ tests/*
# C extensions # C extensions
*.so *.so
logs/*.log logs/*.log
!logs/test.log
# Distribution / packaging # Distribution / packaging
.Python .Python
build/ build/

View File

@ -12,10 +12,6 @@ ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1 ENV PYTHONUNBUFFERED 1
RUN mkdir logs
RUN touch logs/test.log
RUN ls logs
RUN mkdir ~/.pip RUN mkdir ~/.pip
RUN echo "[global]" > ~/.pip/pip.conf RUN echo "[global]" > ~/.pip/pip.conf
RUN echo "index-url = https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf RUN echo "index-url = https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf