Some checks failed
Deploy Multi-VM / Deploy VM Web (push) Has been cancelled
Deploy Multi-VM / Deploy VM Auth (push) Has been cancelled
Deploy Multi-VM / Deploy Game Servers (docker-compose.fusionfall.yml, VM_FUSIONFALL_HOST, VM_FUSIONFALL_SSH_KEY, VM_FUSIONFALL_USER, fusionfall) (push) Has been cancelled
Deploy Multi-VM / Deploy Game Servers (docker-compose.maple2.yml, VM_MAPLE2_HOST, VM_MAPLE2_SSH_KEY, VM_MAPLE2_USER, maple2) (push) Has been cancelled
Deploy Multi-VM / Deploy Game Servers (docker-compose.minecraft.yml, VM_MINECRAFT_HOST, VM_MINECRAFT_SSH_KEY, VM_MINECRAFT_USER, minecraft) (push) Has been cancelled
Deploy Multi-VM / Deploy Game Servers (docker-compose.retro.yml, VM_RETRO_HOST, VM_RETRO_SSH_KEY, VM_RETRO_USER, retro) (push) Has been cancelled
- Redesign all internal pages to warm/gold aesthetic (catalog, game detail, documentary, about, donate, community, guides, contact, server-status, login, profile, admin, not-found) - Add real cover images for all 4 games via Strapi CMS with getImageUrl helper - Integrate NextAuth v5 with Authentik OIDC authentication - Add new public pages: community, guides, contact, server-status - Add new protected pages: login, profile, admin dashboard - Remove legacy AFC/MercadoPago system entirely - Add Docker Compose split files for service isolation (main, auth, fusionfall, nier) - Add OpenFusion VM deployment configs (config.vm.ini, systemd service, README-VM) - Add NieR Reincarnation server guide and desktop client guide - Add architecture docs for multi-VM deployment - Add healthcheck, SSE, contact, newsletter, admin API routes - Add reusable UI components, skeleton loaders, activity feed, bookmark system - Update deployment and game server documentation
29 lines
788 B
Docker
29 lines
788 B
Docker
FROM node:20-alpine AS base
|
|
|
|
WORKDIR /app
|
|
COPY package.json package-lock.json* turbo.json ./
|
|
COPY apps/web/package.json ./apps/web/
|
|
COPY packages/shared/package.json ./packages/shared/
|
|
|
|
# Remove stale lockfile to force fresh install
|
|
RUN rm -f package-lock.json && npm install
|
|
|
|
COPY packages/shared/ ./packages/shared/
|
|
COPY apps/web/ ./apps/web/
|
|
|
|
WORKDIR /app/apps/web
|
|
RUN npm run build
|
|
|
|
FROM node:20-alpine AS production
|
|
WORKDIR /app
|
|
COPY --from=base /app/package.json ./
|
|
COPY --from=base /app/node_modules ./node_modules
|
|
COPY --from=base /app/packages ./packages
|
|
COPY --from=base /app/apps/web/.next ./apps/web/.next
|
|
COPY --from=base /app/apps/web/package.json ./apps/web/
|
|
COPY --from=base /app/apps/web/next.config.ts ./apps/web/
|
|
|
|
WORKDIR /app/apps/web
|
|
EXPOSE 3000
|
|
CMD ["npm", "start"]
|