# Build context is the project root (see docs/DEPLOYMENT.md), not deploy/, so
# COPY paths below are relative to the repo root:
#   docker build -f deploy/Dockerfile -t <image> .
FROM nginx:1.27-alpine

COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
COPY dist/ /usr/share/nginx/html/

EXPOSE 80

HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://localhost/ >/dev/null || exit 1
