1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

Adding vips to alpine to prepare for sharp v0.30.0 support, once its repo contains libvips 8.12.2 package: https://pkgs.alpinelinux.org/packages?name=vips&branch=v3.15 #295

This commit is contained in:
Patrik J. Braun 2022-02-08 14:49:46 +01:00
parent 7b37c3c2a6
commit fc385d9617

View File

@ -2,7 +2,7 @@
#-----------------------------------------
FROM node:14-alpine3.15 AS builder
RUN apk add --update-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.15/community/ \
python3 build-base sqlite-dev sqlite-libs vips-dev fftw-dev gcc g++ make libc6-compat && ln -snf /usr/bin/python3 /usr/bin/python
python3 build-base sqlite-dev sqlite-libs vips-dev vips fftw-dev gcc g++ make libc6-compat && ln -snf /usr/bin/python3 /usr/bin/python
COPY pigallery2-release /app
WORKDIR /app
RUN npm install --unsafe-perm