I have a situation where I have to copy a single file into docker image.
when I am using :
COPY ./folder_source /folder_destination
its copying all its contents from folder_source to folder_destination. Till this point I am okay to handle file movement. But I am not able to find a way to copy a single file to docker image.
COPY ./setup_server.sh /folder_destination
seems like COPY always expects a folder as a source. Is there any way out to that problem?