Optimize pip taking disk space on Dociker image build

This commit is contained in:
Andrey Danilov
2024-06-05 18:40:36 +03:00
parent 61e230056b
commit 4007a8f32d

View File

@@ -32,7 +32,8 @@ RUN pip install "poetry==1.7.1" && \
poetry install \
--no-interaction \
--no-root && \
poetry cache purge --all
poetry cache purge --all && \
rm -rf /root/.cache/pip
COPY ./rvc ./rvc
COPY ./.env-docker ./.env