fix: build/publish Dockerfile python installation issues

* fix: install python2 in follower.Dockerfile

* fix: select python2 in Dockerfile
This commit is contained in:
Rafael Cárdenas
2021-11-10 10:04:59 -06:00
parent 7fef7a8123
commit 7bc217a40f
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 python git openjdk8-jre
RUN apk add --no-cache --virtual .build-deps alpine-sdk python2 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 python git openjdk8-jre
RUN apk add --no-cache --virtual .build-deps alpine-sdk python2 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