Home
DevCentral
Search
Configure Global Search
Log In
Transactions
D258
Change Details
Change Details
Old
New
Diff
Build the image, run it, ensure web application is live.
Build the image, run it, ensure web application is live. **Create an .env when APP_KEY isn't in the environment.** ``` $ docker run -it nasqueron/notifications /var/wwwroot/default /var/wwwroot/default Configuration cache cleared! Configuration cached successfully! /var/wwwroot/default $ docker exec -it prickly_brattain cat .env APP_KEY=atk8fwTbU4VWYYn9elwkC2DVMVfH712I ``` OK. _____ **Don't create an .env when APP_KEY is in the environment.** ``` $ docker run -it -e APP_KEY=wazza nasqueron/notifications $ docker exec -it evil_tesla ls .env ls: cannot access .env: No such file or directory ``` OK.
Build the image, run it, ensure web application is live.
**Create an .env when APP_KEY isn't in the environment.** ``` $ docker run -it nasqueron/notifications /var/wwwroot/default /var/wwwroot/default Configuration cache cleared! Configuration cached successfully! /var/wwwroot/default $ docker exec -it prickly_brattain cat .env APP_KEY=atk8fwTbU4VWYYn9elwkC2DVMVfH712I ``` OK. _____ **Don't create an .env when APP_KEY is in the environment.** ``` $ docker run -it -e APP_KEY=wazza nasqueron/notifications $ docker exec -it evil_tesla ls .env ls: cannot access .env: No such file or directory ``` OK.
Continue