Skip to content

Commit 6205f30

Browse files
committed
chore: Update Dockerfile to rename project directory and fix permissions
1 parent a87d0b7 commit 6205f30

File tree

14 files changed

+4
-123
lines changed

14 files changed

+4
-123
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
FROM ghcr.io/labring-actions/devbox/nodejs-20:d8bfae
22

3-
COPY /Framework/nextjs/14.2.5/project /home/sealos/project
3+
RUN cd /home/sealos/project && \
4+
rm -rf ./*
45

6+
COPY /Framework/next.js/14.2.5/project /home/sealos/project
57
RUN chown -R sealos:sealos /home/sealos/project && \
6-
chmod -R u+rw /home/sealos/project
8+
chmod -R u+rw /home/sealos/project
79

810
USER sealos
911
RUN cd /home/sealos/project && \
1012
npm config set fetch-retry-maxtimeout 2000000 && \
1113
pnpm install
1214

13-
USER root
1415
RUN mkdir /home/sealos/.sealos
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)