docker build --build-arg NODE_ENV=production -t myapp .
Category: Docker
docker build --build-arg NODE_ENV=production -t myapp .
Pass a build-time variable into the Dockerfile
Passes a build-time argument (NODE_ENV=production) into the Dockerfile's ARG instruction.