Skip to content

Commit e558499

Browse files
committed
chore: Update Dockerfile to use pnpm for package installation
1 parent b258367 commit e558499

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Framework/nextjs/14.2.5/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ chmod -R u+rw /home/sealos/project
88
USER sealos
99
RUN cd /home/sealos/project && \
1010
npm config set fetch-retry-maxtimeout 2000000 && \
11-
npm install && \
12-
npm install -D @swc/cli @swc/core
11+
pnpm install
1312

1413
USER root
1514
RUN mkdir /home/sealos/.sealos

0 commit comments

Comments
 (0)