angular-boilerplate
angular-boilerplate copied to clipboard
.env file per environment
I see you use variables:
DEV_DOCKER_IMAGE=hoatle/angular-hello-world:dev_develop
PROD_DOCKER_IMAGE=hoatle/angular-hello-world:develop
Isn't it better to create 2 env files, like this:
.env.dev:
DOCKER_IMAGE=hoatle/angular-hello-world:dev_develop
and
.env.prod
DOCKER_IMAGE=hoatle/angular-hello-world:develop
thank you for your feedback, it's good and we should follow this, I'm going to improve the existing code base with best practices and it should include ".env file per environment", too.