fix: change to python3

This commit is contained in:
Rafael Cárdenas
2021-11-15 09:05:10 -06:00
parent 7bc217a40f
commit 676fd05612
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ FROM node:14-alpine
WORKDIR /app
COPY . .
RUN apk add --no-cache --virtual .build-deps alpine-sdk python2 git openjdk8-jre
RUN apk add --no-cache --virtual .build-deps alpine-sdk python3 git openjdk8-jre
RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env
RUN npm config set unsafe-perm true && npm install && npm run build && npm prune --production
RUN apk del .build-deps

View File

@@ -2,7 +2,7 @@
FROM node:14-alpine as build
WORKDIR /app
COPY . .
RUN apk add --no-cache --virtual .build-deps alpine-sdk python2 git openjdk8-jre
RUN apk add --no-cache --virtual .build-deps alpine-sdk python3 git openjdk8-jre
RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env
RUN npm config set unsafe-perm true && npm install && npm run build && npm prune --production