1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-06 08:22:56 +01:00

update docker recipe for python changes

This commit is contained in:
Kevin Pedro 2025-03-04 21:04:40 -06:00 committed by David Lynch
parent 9a2b574b4b
commit 52213725c9

View file

@ -4,14 +4,14 @@ FROM alpine:latest
# https://pillow.readthedocs.io/en/stable/installation.html#building-on-linux
RUN apk add 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 gcc musl-dev python3 python3-dev py3-pip py3-cryptography \
&& pip install poetry
libxcb-dev libpng-dev gcc musl-dev python3 python3-dev py3-pip py3-cryptography
RUN pip3 config set global.break-system-packages true && pip3 install poetry
COPY . /leech
RUN cd /leech \
&& poetry config virtualenvs.create false \
&& poetry install --no-dev
&& poetry install --without dev
WORKDIR /work