This commit is contained in:
zramsay 2024-03-11 13:04:44 +00:00
parent 29bcbd06fb
commit c4c8b2ee97

View File

@ -1,14 +1,15 @@
# Build container # Build container
ARG NODE_VERSION ARG NODE_VERSION
FROM --platform=amd64 node:${NODE_VERSION}-alpine3.16 as build FROM --platform=amd64 node:${NODE_VERSION}-alpine3.18 as build
WORKDIR /app WORKDIR /app
# Argument to allow building of different apps # Argument to allow building of different apps
ARG APP ARG APP
ARG ENV_NAME="" ARG ENV_NAME=""
RUN apk add --update --no-cache \ RUN apk add --update --no-cache \
make==4.3-r0 \ git \
gcc==11.2.1_git20220219-r2 \ make==4.4.1-r1 \
g++==11.2.1_git20220219-r2 gcc==12.2.1_git20220924-r10 \
g++==12.2.1_git20220924-r10
COPY . ./ COPY . ./
RUN yarn --pure-lockfile RUN yarn --pure-lockfile
# work around for different build process in trading # work around for different build process in trading