try to use python3

This commit is contained in:
Ben Phelps 2022-08-25 17:35:11 +03:00
parent 5e7d27e5ea
commit 520b04a44d

View file

@ -1,7 +1,7 @@
# Install dependencies only when needed # Install dependencies only when needed
FROM node:16-alpine AS deps FROM node:16-alpine AS deps
RUN apk add --no-cache libc6-compat RUN apk add --no-cache libc6-compat
RUN apk add --no-cache --virtual .gyp python make g++ RUN apk add --no-cache --virtual .gyp python3 make g++
WORKDIR /app WORKDIR /app
COPY package.json pnpm-lock.yaml* ./ COPY package.json pnpm-lock.yaml* ./
RUN yarn global add pnpm RUN yarn global add pnpm