# Use nginx alpine for a small production image FROM nginx:alpine # Copy custom nginx configuration COPY nginx.conf /etc/nginx/conf.d/default.conf # Copy site files to nginx html directory COPY site/ /usr/share/nginx/html/ # Expose port 80 EXPOSE 80 # nginx alpine image already has the CMD to start nginx