refactor: update NODE_ENV handling in Dockerfile and docker-compose.yml for better environment configuration
This commit is contained in:
+3
-2
@@ -7,7 +7,7 @@ services:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
- NODE_ENV=production
|
||||
- NODE_ENV=${NODE_ENV}
|
||||
- NEXT_TELEMETRY_DISABLED=1
|
||||
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
|
||||
- NEXT_PUBLIC_CLIENT_ID=${NEXT_PUBLIC_CLIENT_ID}
|
||||
@@ -21,4 +21,5 @@ services:
|
||||
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
|
||||
- NEXT_PUBLIC_CLIENT_ID=${NEXT_PUBLIC_CLIENT_ID}
|
||||
- NEXT_PUBLIC_CLIENT_SECRET=${NEXT_PUBLIC_CLIENT_SECRET}
|
||||
- APP_PORT=${APP_PORT}
|
||||
- APP_PORT=${APP_PORT}
|
||||
- NODE_ENV=${NODE_ENV}
|
||||
|
||||
Reference in New Issue
Block a user