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