# Static site for sandbox publishing.
# Serve the repo files as-is with clean-URL rewriting OFF (see serve.json), so
# the activity's relative "../../global.css" link resolves correctly. serve reads
# serve.json from its working directory, so we serve from /site (where it lives).
FROM node:22-alpine
WORKDIR /site
RUN npm i -g serve
COPY . ./
EXPOSE 8080
CMD ["serve", "-l", "8080"]
