diff --git a/code/VideoAccess-VCMP/api/Dockerfile b/code/VideoAccess-VCMP/api/Dockerfile index b64fd4f..d7e8a67 100644 --- a/code/VideoAccess-VCMP/api/Dockerfile +++ b/code/VideoAccess-VCMP/api/Dockerfile @@ -14,8 +14,8 @@ RUN npm install --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