Podman fails on build with any RUN command in Containerfile on fresh Rocky Install

I believe the copy command should be more specific than what you have used. It may also not like the fact you are attempting to copy files where the Dockerfile is located. It would be better if you are wanting to copy multiple files, to use something like:

COPY nginx-conf/* /etc/nginx/conf.d/

as an example by storing the files to be copied in a sub-directory where your Dockerfile exists.