containers - Dockerfile and docker-compose not updating with new instructions -


when try build container using docker-compose

nginx:   build: ./nginx   ports:     - "5000:80" 

the copy instructions isnt working when dockerfile looks this

from nginx  #expose port 80 expose 80  copy html /usr/share/nginx/test  #start nginx server run service nginx restart 

what problem?

it seems when using docker-compose command saves intermediate container doesnt show , reruns never updating correctly. sadly documentation regarding poor. way fix build first no cache ,

docker-compose build --no-cache docker-compose -d 

Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

json - Gson().fromJson(jsonResult, Myobject.class) return values in 0's -

python - GRASS parser() error -