New: Intelligent Flashcards spaced-repetition decks for every topic, built to make things actually stick.
What does docker run -e NODE_ENV=prod nginx do?
docker run -e NODE_ENV=prod nginx
Loads variables from a file named NODE_ENV into the container
NODE_ENV
Sets the environment variable NODE_ENV to prod inside the running container
prod
Permanently writes NODE_ENV=prod into the nginx image so future containers inherit it
NODE_ENV=prod