rm: cannot remove '/etc/nginx/conf.d/*': No such file or directory #2522
Unanswered
IavTavares
asked this question in
Q&A
Replies: 1 comment 10 replies
-
you might find this blog useful: https://www.nginx.com/blog/deploying-nginx-nginx-plus-docker/ |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to dockerize a flask + gunicorn app with nginx.
Here's the initial part of my dockerfile:
when building the docker image, I get the error message:
rm: cannot remove '/etc/nginx/conf.d/default.conf': No such file or directory
.Even if i change the RUN command to
RUN rm /etc/nginx/conf.d/*
, I still get the same error message. It makes me think that there's no directory with that name.But isn't it supposed to exit according to the documentation?
Beta Was this translation helpful? Give feedback.
All reactions