FROM nginx:alpine # Remove default nginx index.html RUN rm /usr/share/nginx/html/index.html # Copy static website files COPY wwwroot/ /usr/share/nginx/html/ # Expose port 80 EXPOSE 80 # Run nginx in foreground CMD ["nginx", "-g", "daemon off;"]