From 76c3d57f55933d44014112680aa1dfe2c0d78adf Mon Sep 17 00:00:00 2001 From: callmeyan Date: Mon, 24 Jun 2024 10:13:53 +0800 Subject: [PATCH] update Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4ba666c..d3e0651 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,6 @@ COPY *.ts . COPY *.json . # Install dependencies and build the app -RUN npm config set registry https://registry.npmmirror.com RUN yarn install RUN yarn build @@ -30,7 +29,7 @@ FROM nginx:1.26-alpine3.19 AS runner WORKDIR /app # envs 配置 -ENV APP_API_URL http://43.136.175.109:50000 +ENV APP_API_URL http://localhost:50000 # nginx配置文件 COPY nginx.conf /etc/nginx/conf.d/default.conf.template