NODE_ENV setting is ignored by dockerStart.sh of data-portal
taoliu opened this issue · 0 comments
taoliu commented
compose-services/docker-compose.yml
Line 141 in 1ff3d52
The above code will set the NODE_ENV to "dev" in docker-compose.yml, however, this setting is ignored later on by data-portal. When "waitForContainers.sh" is called:
compose-services/docker-compose.yml
Line 135 in 1ff3d52
The script invokes "dockerStart.sh" in data-portal:
The dockerStart.sh will reset NODE_ENV as "production":
export NODE_ENV=production
The consequence is that the NODE_ENV setting in compose-service is ignored.