diff --git a/web/Dockerfile b/web/Dockerfile index 11e16611..7bda219f 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -1,8 +1,8 @@ -FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12 as builder +FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12-dev as builder -COPY --chown=node ./ /home/node/app +COPY . /var/app -WORKDIR /home/node/app +WORKDIR /var/app EXPOSE 8080