Optimize more poetry disk space usage
This commit is contained in:
@@ -28,12 +28,14 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY ./pyproject.toml .
|
COPY ./pyproject.toml .
|
||||||
|
|
||||||
RUN pip install "poetry==1.7.1" && \
|
RUN pip install \
|
||||||
|
--no-cache-dir \
|
||||||
|
"poetry==1.7.1" && \
|
||||||
|
poetry config virtualenvs.create false && \
|
||||||
poetry install \
|
poetry install \
|
||||||
--no-interaction \
|
--no-interaction \
|
||||||
--no-root && \
|
--no-root && \
|
||||||
poetry cache clear --all . && \
|
poetry cache clear --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