fix: dynamic node environment variable

This commit is contained in:
theoleuthardt 2025-02-28 15:23:34 +01:00
parent a3e7998d11
commit 0505620145
4 changed files with 10 additions and 3 deletions

View file

@ -6,6 +6,7 @@ services:
dockerfile: Dockerfile
args:
NEXT_PUBLIC_BACKEND_URL: ${NEXT_PUBLIC_BACKEND_URL}
NODE_ENV: ${NODE_ENV}
container_name: werkzeugkiste-frontend
environment:
- NODE_ENV=${NODE_ENV}
@ -22,6 +23,7 @@ services:
dockerfile: Dockerfile
args:
CORS_ALLOWED_ORIGIN: ${CORS_ALLOWED_ORIGIN}
NODE_ENV: ${NODE_ENV}
container_name: werkzeugkiste-backend
environment:
- NODE_ENV=${NODE_ENV}