Skip to content

Commit

Permalink
fix: docker build py depend error
Browse files Browse the repository at this point in the history
  • Loading branch information
唐宇杭 committed Oct 30, 2023
1 parent ed6e797 commit 810d2fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ WORKDIR /app

COPY requirements.txt /app/

RUN apk add --no-cache --virtual .build-deps gcc g++ cmake openblas-dev make musl-dev zlib-dev \
RUN apk add --no-cache --virtual .build-deps gcc g++ cmake openblas-dev make musl-dev \
tiff-dev jpeg-dev openjpeg-dev zlib-dev freetype-dev lcms2-dev \
libwebp-dev tcl-dev tk-dev harfbuzz-dev fribidi-dev libimagequant-dev \
libxcb-dev libpng-dev \
&& pip install --trusted-host pypi.python.org -r requirements.txt \
&& apk del .build-deps && rm -rf requirements.txt

Expand Down

0 comments on commit 810d2fd

Please sign in to comment.