# The forms demo server (MINI_APPS_DESIGN.md, 19.4). No npm dependencies: only the sources are copied. The base image
# is pinned to the Node.js release the demos are tested on.
FROM node:22.22.0-alpine
WORKDIR /app
COPY package.json server.mjs ./
COPY lib ./lib
ENV HOST=0.0.0.0 DATA_DIR=/data NODE_ENV=production
USER node
CMD ["node", "server.mjs"]
