diff --git a/Dockerfile b/Dockerfile index 961f26f..cec6b58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,17 +6,16 @@ ENV LANG=zh_CN.UTF-8 \ TZ=Asia/Shanghai \ BILI_IN_DOCKER=true +COPY poetry.lock pyproject.toml ./ + RUN apk add --no-cache ffmpeg tini \ && apk add --no-cache --virtual .build-deps \ gcc \ musl-dev \ libffi-dev \ openssl-dev \ - && pip install poetry - -COPY poetry.lock pyproject.toml ./ - -RUN poetry config virtualenvs.create false \ + && pip install poetry \ + && poetry config virtualenvs.create false \ && poetry install --only main --no-root \ && apk del .build-deps \ && rm -rf \