mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 22:43:34 +08:00
fix: build/publish Dockerfile python installation issues
* fix: install python2 in follower.Dockerfile * fix: select python2 in Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user