Use APP_ENV to determine what config to load, falling back to NODE_ENV

This commit is contained in:
Patrik Oldsberg
2020-10-10 17:41:03 +02:00
parent dc0261e6bc
commit 8afce088ac
13 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Run the following commands if you have Docker environment
```bash
$ yarn install
$ yarn docker-build
$ docker run --rm -it -p 7000:7000 -e NODE_ENV=development example-backend:latest
$ docker run --rm -it -p 7000:7000 -e APP_ENV=production -e NODE_ENV=development example-backend:latest
```
Then open http://localhost/ on your browser.