diff --git a/code/api/Dockerfile b/code/api/Dockerfile index b672393..0b756f7 100644 --- a/code/api/Dockerfile +++ b/code/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:12 -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