mirror of
https://github.com/PaiGramTeam/Docker.git
synced 2024-11-22 05:54:02 +00:00
Update Dockerfile
This commit is contained in:
parent
a4df41bf81
commit
73ce1a1e44
@ -13,6 +13,7 @@ RUN echo "deb http://ftp.us.debian.org/debian buster main non-free" >> /etc/apt/
|
|||||||
&& pip install virtualenv poetry \
|
&& pip install virtualenv poetry \
|
||||||
&& python3 -m virtualenv venv/ \
|
&& python3 -m virtualenv venv/ \
|
||||||
&& . venv/bin/activate \
|
&& . venv/bin/activate \
|
||||||
|
&& poetry config virtualenvs.create false \
|
||||||
&& poetry source add --default mirrors https://pypi.tuna.tsinghua.edu.cn/simple/ \
|
&& poetry source add --default mirrors https://pypi.tuna.tsinghua.edu.cn/simple/ \
|
||||||
&& poetry install \
|
&& poetry install \
|
||||||
&& poetry install --extras all \
|
&& poetry install --extras all \
|
||||||
@ -29,7 +30,8 @@ RUN echo "deb http://ftp.us.debian.org/debian buster main non-free" >> /etc/apt/
|
|||||||
/tmp/* \
|
/tmp/* \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/tmp/* \
|
/var/tmp/* \
|
||||||
~/.cache \
|
~/.cache/pip \
|
||||||
|
~/.cache/pypoetry \
|
||||||
# Add the wait script to the image
|
# Add the wait script to the image
|
||||||
&& wget -O /wait https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait \
|
&& wget -O /wait https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait \
|
||||||
&& chmod +x /wait
|
&& chmod +x /wait
|
||||||
|
Loading…
Reference in New Issue
Block a user