Skip to content

Commit

Permalink
update Dockerfile.proxy && docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
freeziyou committed Feb 1, 2024
1 parent dc03c7e commit d9a2bae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/Dockerfile.proxy
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ services:
- "8001:81"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
build:
args:
- VITE_OAUTH_HOST=localhost

0 comments on commit d9a2bae

Please sign in to comment.