Dockerfile を更新

This commit is contained in:
tuna2134@コマリン親衛隊
2025-04-30 06:55:02 +09:00
committed by GitHub
parent 299c91ca6e
commit d540da5497

View File

@@ -9,8 +9,9 @@ COPY pnpm-lock.yaml package.json .
RUN pnpm install --frozen-lockfile
COPY . .
RUN --mount=type=cache,target=/src/.next pnpm build
COPY /src/.next /src/.complete
RUN --mount=type=cache,target=/src/.next pnpm build \
&& mkdir -p .complete \
&& cp -r .next .complete
FROM gcr.io/distroless/nodejs22-debian12