Files
project-afterlife/apps/cms/Dockerfile
consultoria-as aea2283d8f
Some checks failed
Deploy / deploy (push) Has been cancelled
feat: add game server infrastructure and documentary improvements
- Add Docker Compose for OpenFusion (FusionFall), MapleStory 2, and
  Minecraft FTB Infinity Evolved game servers
- Add MapleStory 2 multi-service compose (MySQL, World, Login, Web, Game)
- Add OpenFusion Dockerfile and configuration files
- Fix CMS Dockerfile, web Dockerfile, and documentary components
- Add root layout, globals.css, not-found page, and text formatting utils
- Update .gitignore to exclude large game server repos and data

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 12:11:12 +00:00

17 lines
372 B
Docker

FROM node:20-alpine AS base
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm install
COPY . .
RUN npm run build && \
find src/api -name "schema.json" | while read f; do \
mkdir -p "dist/$(dirname "$f")" && cp "$f" "dist/$f"; \
done
FROM node:20-alpine AS production
WORKDIR /app
COPY --from=base /app ./
EXPOSE 1337
CMD ["npm", "run", "start"]