Add Akkam Bakkam classroom game
Some checks failed
CI / validate (push) Has been cancelled

This commit is contained in:
Neeldhara Misra 2026-07-20 17:23:12 +05:30
parent 52615a5086
commit e6fa86519c
16 changed files with 3277 additions and 6 deletions

29
Dockerfile Normal file
View file

@ -0,0 +1,29 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run ci
FROM node:22-alpine AS runtime
WORKDIR /app
ENV NODE_ENV=production
ENV PORT=80
COPY package.json package-lock.json ./
RUN npm ci --omit=dev && npm cache clean --force
COPY --from=build /app/dist ./dist
COPY server ./server
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget -q --spider http://127.0.0.1/api/health || exit 1
CMD ["node", "server/index.mjs"]