docker run -e NODE_ENV=production myimage
Category: Docker
docker run -e NODE_ENV=production myimage
Set a single environment variable inside the container
Sets a single environment variable inside the container. Programs inside can read NODE_ENV to get 'production'.