FROM nginx:alpine # Remove default nginx config RUN rm /etc/nginx/conf.d/default.conf # Copy custom configuration COPY ./conf/nginx.conf /etc/nginx/conf.d/ EXPOSE 80 443 CMD ["nginx", "-g", "daemon off;"]