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

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -