# syntax=docker/dockerfile:1
#
# The marketing site (app.maylyn.cloud) — static HTML + a pre-built Tailwind
# CSS file, no server-side anything. This is nginx serving website/ as-is;
# there is no build step here because website/dist/site.css is already
# committed (see website/README.md's own build instructions for editing it).

FROM nginx:1.27-alpine
COPY deploy/website/nginx.conf /etc/nginx/conf.d/default.conf
COPY website/ /usr/share/nginx/html/
# node_modules/dist source maps etc. aren't needed at runtime, but COPYing the
# whole directory is simpler and safer than hand-listing every real page —
# harmless bloat on a static site this small either way.
RUN rm -rf /usr/share/nginx/html/node_modules
EXPOSE 80
