Docker updating image along when dockerfile changes

前端 未结 3 1459
执笔经年
执笔经年 2021-01-31 00:59

I\'m playing with docker by creating a Dockerfile with some nodejs instructions. Right now, every time I make changes to the dockerfile I recreate the image by runn

3条回答
  •  抹茶落季
    2021-01-31 01:57

    According to this best practices guide if you keep the first lines of your dockerfile the same it'll also cache them and reuse the same images for future builds

提交回复
热议问题