Skip to content

Commit fc9fb99

Browse files
committed
chore: Update Dockerfile to remove project files before copying
1 parent ef582d5 commit fc9fb99

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Framework/vue/v3.4.29/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
FROM ghcr.io/labring-actions/devbox/nodejs-20:d8bfae
1+
FROM ghcr.io/labring-actions/devbox/node.js-20:bf81c9
22

3-
COPY /Framework/vue/v3.4.29/project /home/sealos/project
3+
RUN cd /home/sealos/project && \
4+
rm -rf ./*
45

6+
COPY /Framework/vue/v3.4.29/project /home/sealos/project
57
RUN chown -R sealos:sealos /home/sealos/project && \
68
chmod -R u+rw /home/sealos/project
79

810
USER sealos
911
RUN cd /home/sealos/project && \
1012
npm install
1113

12-
USER root
1314
RUN mkdir /home/sealos/.sealos

0 commit comments

Comments
 (0)