how to pass environment variable to dockerfile

前端 未结 0 595
失恋的感觉
失恋的感觉 2020-12-31 19:54

how to pass kaps-service as a environment variable to my dockerfile

file.txt:- Match $Match name prod

dockerfile:- FROM image ENV Match=kaps-service COPY file

相关标签:
回答
  • 消灭零回复
提交回复
热议问题