Skip to content

Commit

Permalink
fix: send AUTH_SECRET on build
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Apr 19, 2024
1 parent d6608fd commit fba642a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compose.prod.yaml
Expand Up @@ -16,6 +16,8 @@ services:
build:
context: ./pwa
target: prod
args:
AUTH_SECRET: ${AUTH_SECRET}
environment:
AUTH_SECRET: ${AUTH_SECRET}

Expand Down
2 changes: 2 additions & 0 deletions pwa/Dockerfile
Expand Up @@ -41,6 +41,8 @@ RUN pnpm fetch --prod

COPY --link . .

ARG AUTH_SECRET

RUN pnpm install --frozen-lockfile --offline --prod && \
pnpm run build

Expand Down

0 comments on commit fba642a

Please sign in to comment.