From d9a2bae807d985e8d8aaf3a3c433e2d9573a1519 Mon Sep 17 00:00:00 2001 From: freeziyou <80776877@qq.com> Date: Thu, 1 Feb 2024 17:26:01 +0800 Subject: [PATCH] update Dockerfile.proxy && docker-compose.yml --- deploy/Dockerfile.proxy | 3 +++ deploy/docker-compose.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/deploy/Dockerfile.proxy b/deploy/Dockerfile.proxy index 1ee12dd1..35480510 100644 --- a/deploy/Dockerfile.proxy +++ b/deploy/Dockerfile.proxy @@ -5,6 +5,9 @@ ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable +ARG VITE_OAUTH_HOST +ENV VITE_OAUTH_HOST=${VITE_OAUTH_HOST} + COPY ./website /app WORKDIR /app diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index 6490588c..f6a76fed 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -58,3 +58,6 @@ services: - "8001:81" volumes: - /var/run/docker.sock:/tmp/docker.sock:ro + build: + args: + - VITE_OAUTH_HOST=localhost