add python3 to the Docker build environment

This commit is contained in:
Jesse D. McDonald 2021-10-26 16:21:11 -05:00
parent cb636d0201
commit f532d39e5a
1 changed files with 3 additions and 2 deletions

View File

@ -4,9 +4,10 @@ FROM node:16-alpine3.13 AS base
FROM base AS builder
MAINTAINER Jesse McDonald <nybble41@gmail.com>
WORKDIR /app
RUN apk add --no-cache python2 make gcc g++ musl-dev
COPY . .
RUN apk add --no-cache python2 python3 make gcc g++ musl-dev
COPY ["package.json", "package-lock.json*", "."]
RUN yarn install --production
COPY . .
FROM base
MAINTAINER Jesse McDonald <nybble41@gmail.com>