Skip to content

Commit 52a7d61

Browse files
committed
🔄 Synced local '.' with remote 'apps/examples/nextjs'
1 parent 031fae7 commit 52a7d61

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,9 @@ FROM base AS deps
66
RUN apk add --no-cache libc6-compat
77
WORKDIR /app
88

9-
# Install package manager
10-
RUN --mount=type=cache,id=pnpm-auth-store,target=/root/.pnpm-store \
11-
npm i --global --no-update-notifier --no-fund pnpm@latest
12-
13-
149
# Install dependencies
1510
COPY package.json ./
16-
RUN pnpm i
11+
RUN npm i
1712

1813

1914
# Rebuild the source code only when needed
@@ -27,7 +22,7 @@ COPY . .
2722
# Uncomment the following line in case you want to disable telemetry during the build.
2823
# ENV NEXT_TELEMETRY_DISABLED 1
2924

30-
RUN pnpm run build
25+
RUN npm run build
3126

3227
# Production image, copy all the files and run next
3328
FROM base AS runner

0 commit comments

Comments
 (0)