Post(s) tagged docker build

Docker build with multiple --build-arg arguments

If you are passing multiple arguments then add --build-arg with each argument like below

docker build \
-t imagename \
--build-arg env=prod \
--build-arg port=3000 \
--no-cache .


Posted on September 22, 2022
Sponsors