From 0814a99c2c0d7d6258f7e1b3857f9e4508988a9c Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Tue, 2 Aug 2022 09:58:05 +0800 Subject: [PATCH] dockerfile --- web/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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