1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-06 05:55:23 +02:00

add pillow dependencies (#258)

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden 2021-04-03 13:23:26 -08:00 committed by GitHub
parent 764f85fb40
commit ec7fa6332d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 56 additions and 5 deletions

View file

@ -7,14 +7,39 @@ RUN npm run build
FROM python:3.9-alpine
RUN apk add --no-cache libxml2-dev libxslt-dev libxml2 caddy libffi-dev
RUN apk add --no-cache libxml2-dev \
libxslt-dev \
libxml2 caddy \
libffi-dev \
python3 \
python3-dev \
openssl \
bash \
sudo \
# freetype-dev \
# fribidi-dev \
# harfbuzz-dev \
jpeg-dev \
lcms2-dev \
openjpeg-dev \
# tcl-dev \
# tiff-dev \
# tk-dev \
zlib-dev
ADD depends /depends
RUN cd /depends \
&& chmod +x install_webp.sh \
&& chmod +x download-and-extract.sh \
&& ./install_webp.sh
ENV ENV True
EXPOSE 80
WORKDIR /app/
COPY ./pyproject.toml /app/
RUN apk add --update --no-cache --virtual .build-deps \
curl \
g++ \