Browse Source

docker

release_0.0.3
巴林闲侠 2 years ago
parent
commit
8d8ae76b60
  1. 4
      code/api/Dockerfile

4
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"]
Loading…
Cancel
Save