fix(docker): add git installation to Dockerfile for build dependencies
This commit is contained in:
@@ -4,6 +4,8 @@ WORKDIR /app
|
|||||||
|
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
|
|
||||||
|
RUN apk add --no-cache git
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \
|
RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ WORKDIR /app
|
|||||||
|
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
|
|
||||||
|
RUN apk add --no-cache git
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN pnpm install --frozen-lockfile --ignore-scripts
|
RUN pnpm install --frozen-lockfile --ignore-scripts
|
||||||
|
|||||||
Reference in New Issue
Block a user