diff --git a/apps/server/Dockerfile b/apps/server/Dockerfile index d795b4978..1c2e621bd 100644 --- a/apps/server/Dockerfile +++ b/apps/server/Dockerfile @@ -4,6 +4,8 @@ WORKDIR /app RUN corepack enable +RUN apk add --no-cache git + COPY . . RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \ diff --git a/apps/server/production/railway/Dockerfile b/apps/server/production/railway/Dockerfile index 814c46d79..52ba06112 100644 --- a/apps/server/production/railway/Dockerfile +++ b/apps/server/production/railway/Dockerfile @@ -4,6 +4,8 @@ WORKDIR /app RUN corepack enable +RUN apk add --no-cache git + COPY . . RUN pnpm install --frozen-lockfile --ignore-scripts