Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying authored Apr 26, 2024
1 parent 258f59f commit 6737831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM base AS deps
WORKDIR /app

COPY package.json pnpm-lock.yaml ./
RUN corepack install
RUN corepack enable && corepack install
RUN pnpm install --frozen-lockfile

FROM base AS builder
Expand All @@ -14,7 +14,7 @@ COPY --from=deps /app/node_modules ./node_modules
COPY . .

ENV NEXT_TELEMETRY_DISABLED 1
RUN corepack install
RUN corepack enable && corepack install
RUN pnpm build

FROM base AS runner
Expand Down

0 comments on commit 6737831

Please sign in to comment.