Hardcode PayPal sandbox client ID as build arg
The env_file is only available at runtime, not during docker build. Build args need explicit values in docker-compose.yml for NEXT_PUBLIC vars to be inlined into the client bundle. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
518f08e8e6
commit
e410bd1b0a
|
|
@ -5,7 +5,7 @@ services:
|
|||
dockerfile: Dockerfile
|
||||
args:
|
||||
- DIRECTUS_API_TOKEN=katheryn-frontend-readonly-8591de0316ded82fab45328cf1e49cb1
|
||||
- NEXT_PUBLIC_PAYPAL_CLIENT_ID=${NEXT_PUBLIC_PAYPAL_CLIENT_ID}
|
||||
- NEXT_PUBLIC_PAYPAL_CLIENT_ID=AfQqEsrGHMOTawmNO_Sh1sEG-3lpqueUj3K5rAu0d0iKl0d_NTUZbalpujXPKYxa9QukJeFtmNF52hcY
|
||||
container_name: katheryn-frontend
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
|
|
|
|||
Loading…
Reference in New Issue