Optimize pip taking disk space on Dociker image build
This commit is contained in:
@@ -32,7 +32,8 @@ RUN pip install "poetry==1.7.1" && \
|
|||||||
poetry install \
|
poetry install \
|
||||||
--no-interaction \
|
--no-interaction \
|
||||||
--no-root && \
|
--no-root && \
|
||||||
poetry cache purge --all
|
poetry cache purge --all && \
|
||||||
|
rm -rf /root/.cache/pip
|
||||||
|
|
||||||
COPY ./rvc ./rvc
|
COPY ./rvc ./rvc
|
||||||
COPY ./.env-docker ./.env
|
COPY ./.env-docker ./.env
|
||||||
|
|||||||
Reference in New Issue
Block a user