1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Merge pull request #303 from martadinata666/master

Python version unavailable for alpine 3.13
This commit is contained in:
Patrik J. Braun 2021-05-20 20:21:20 +02:00 committed by GitHub
commit e5cd8b6724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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