diff --git a/code/VideoAccess-VCMP/web/Dockerfile b/code/VideoAccess-VCMP/web/Dockerfile index db8924c..9e05d4b 100644 --- a/code/VideoAccess-VCMP/web/Dockerfile +++ b/code/VideoAccess-VCMP/web/Dockerfile @@ -17,8 +17,8 @@ RUN npm install --production --registry http://10.8.30.22:7000 FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node-16:7.22-06-20 -WORKDIR /app +COPY --from=builder --chown=node /var/app /home/node/app -COPY --from=builder /var/app . +WORKDIR /home/node/app CMD ["node", "server.js"] \ No newline at end of file