# Use a lightweight nginx image FROM nginx:alpine # Copy your static files into the nginx web directory COPY . /usr/share/nginx/html # Expose the port nginx serves from EXPOSE 80 # Start nginx CMD ["nginx", "-g", "daemon off;"]