FROM nginx:stable RUN rm /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf RUN rm /etc/nginx/conf.d/default.conf COPY default.conf /etc/nginx/conf.d/default.conf CMD ["nginx", "-g", "daemon off;"]