Conditionally copy files in multistage dockerfile

May I ask where conditional operations in COPY instructions are addressed in the docs? I can not find anything like that in the COPY section of the Dockerfile referece

The only instruction I am aware of that supports conditional operations is the RUN instruction.

1 Like