Skip to content

Commit

Permalink
chore: 移除无用的临时依赖,少量优化体积
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoaer committed Jan 5, 2024
1 parent 345c764 commit 9d80752
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ RUN apk add --no-cache ffmpeg tini \
musl-dev \
libffi-dev \
openssl-dev \
&& pip install poetry \
&& pip install poetry==1.7.1 pip3-autoremove==1.2.0 \
&& poetry config virtualenvs.create false \
&& poetry install --only main --no-root \
&& pip3-autoremove -y poetry pip3-autoremove \
&& apk del .build-deps \
&& rm -rf \
/root/.cache \
Expand Down

0 comments on commit 9d80752

Please sign in to comment.