I have an application with a production Dockerfile that copies our source code into the container, i.e:
COPY . /app
I would like to make this copy conditional, so that passing in a CONTEXT= environment variable prevents/allows this line to execute. Is that possible?
I saw related posts on here but no clear answer. Thanks!