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