mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
fic(ci): add git to build containers
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
99efc36557
commit
c8c20da469
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue