FROM nginx:alpine

# Copy custom Nginx configuration for clean URLs and SPA routing
COPY nginx.conf /etc/nginx/conf.d/default.conf

# Copy static website files
COPY . /usr/share/nginx/html

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]
