Conditionally copy files in multistage dockerfile

I ended up copying my entire Dockerfile in a subdirectory, deleting two lines for copies I didn’t want in that case, and calling that file in my Makefile - ugly! Please support conditional COPY!

1 Like