Skip to content

Commit

Permalink
refactor: Add REACT_APP_RAZOR_PAY_KEY_ID build argument for Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Arghya721 committed Aug 10, 2024
1 parent c7cef3b commit 1c812c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM node:21-alpine3.18
# Accept environment variables passed as build arguments
ARG REACT_APP_GOOGLE_CLIENT_ID
ARG REACT_APP_API_HOST
ARG REACT_APP_RAZOR_PAY_KEY_ID

# Use ARG values as environment variables for the build stage
ENV REACT_APP_GOOGLE_CLIENT_ID=$REACT_APP_GOOGLE_CLIENT_ID
Expand Down

0 comments on commit 1c812c0

Please sign in to comment.