Is it possible to run docker-compose up in such a way that it will only build if the image isn\'t present in the repository?
I\'m working on a test sce
i am using docker-compose v2.1
when we run docker compose up it check image is exist or not. if not exist then only it build that image otherwise it will skip that part
docker-compose
version: '2.1'
services:
devimage:
image: nodedockertest
build: .
environment:
NODE_ENV: development
ports:
- 8000:8000