fic(ci): add git to build containers

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2023-10-08 18:55:02 +02:00 committed by Philip Molares
parent 99efc36557
commit c8c20da469
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ ENV YARN_CACHE_FOLDER=/tmp/.yarn
## Stage 1: Code with all dependencies ## Stage 1: Code with all dependencies
FROM base as code-with-deps FROM base as code-with-deps
RUN apk add --no-cache libc6-compat RUN apk add --no-cache libc6-compat git
USER node USER node
WORKDIR /usr/src/app WORKDIR /usr/src/app

View file

@ -10,7 +10,7 @@ ENTRYPOINT ["tini", "--"]
# BUILD # BUILD
FROM base AS builder FROM base AS builder
RUN apk add --no-cache libc6-compat RUN apk add --no-cache libc6-compat git
ENV NODE_ENV=production ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1 ENV NEXT_TELEMETRY_DISABLED=1