# The published Atlas page as a container: build the static site (npm run build -> dist/), then serve it with an # unprivileged nginx on port 8080. .gitea/workflows/image.yml builds this on every push to main and pushes it to # harbor.kenschiano.net/home/threshing-atlas:latest; Argo CD Image Updater rolls the deployment (kubefiles, # web/threshing-atlas) when that digest changes. FROM node:22-alpine AS build WORKDIR /src COPY . . RUN node site/build.js /site FROM nginxinc/nginx-unprivileged:1.28-alpine COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf COPY --from=build /site /usr/share/nginx/html EXPOSE 8080