diff --git a/api/Dockerfilenew b/api/Dockerfilenew index e45658d4..529db165 100644 --- a/api/Dockerfilenew +++ b/api/Dockerfilenew @@ -1,5 +1,5 @@ FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12-dev as builder -COPY ./api /var/app +COPY ./api/ /var/app WORKDIR /var/app EXPOSE 8080 RUN npm config set registry=https://nexus.ngaiot.com/repository/fs-npm/