Lets make a Dockerfile

hi i need a dockerfile that makes me a nginx container; copy ssl cert; copy nginx conf; copy repo shell scipt (this will update www files and reload nginx) so its run when container is run

FROM nginx:latest

# Copy SSL certificates
COPY ./ssl/cert.pem /etc/nginx/ssl/cert.pem
COPY ./ssl/key.pem /etc/nginx/ssl/key.pem

# Copy custom nginx configuration
COPY ./nginx.conf /etc/nginx/nginx.conf

# Copy repo shell script
COPY ./update_repo.sh /usr/local/bin/update_repo.sh

# Make sure the script is executable
RUN chmod +x /usr/local/bin/update_repo.sh

# Run the repo update script and then start nginx in foreground
CMD ["/bin/sh", "-c", "/usr/local/bin/update_repo.sh && nginx -g 'daemon off;'"]