Phase 0: deployment shell

This commit is contained in:
2026-07-21 20:48:28 +00:00
commit b063f3f34b
11 changed files with 1180 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM node:20-alpine
WORKDIR /app
# Install dependencies first (better layer caching).
COPY package.json package-lock.json ./
RUN npm ci --omit=dev
# App source.
COPY server ./server
COPY public ./public
ENV NODE_ENV=production
ENV PORT=3000
ENV DATA_DIR=/app/data
EXPOSE 3000
CMD ["node", "server/index.js"]