# Use official nginx alpine image FROM nginx:alpine # Create directory for nginx config # Copy static files COPY index.html styles.css /usr/share/nginx/html/ # Copy nginx configuration # Expose port 80 EXPOSE 80 # Run nginx CMD ["nginx", "-g", "daemon off;"]