add python to docker build
This commit is contained in:
parent
5c6a3377e0
commit
b53e13ee84
@ -1,6 +1,11 @@
|
|||||||
# use older node version for build since arm/v8 threw error when node 20 was used
|
# use older node version for build since arm/v8 threw error when node 20 was used
|
||||||
FROM node:18.19.1-alpine AS build_image
|
FROM node:18.19.1-alpine AS build_image
|
||||||
|
|
||||||
|
# install additional tools needed if on arm64 / armv7
|
||||||
|
RUN RUN apk add --update python3 make g++\
|
||||||
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
|
||||||
# use production node environment by default
|
# use production node environment by default
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user