Files
CoHaiSe/docker/Dockerfile.app
T
Gitea Actions 723b68ea80
deploy / deploy (push) Successful in 1m24s
feat: migrate showcase to Next.js and overhaul CRM UI
rebuild the public site on the Next.js App Router with static export,

per-section SEO pages, metadata, sitemap, robots and a generated OG image

add full-screen scroll-snap regions, staged scroll reveals, a hash-free

tab navigation with a sliding indicator and region-by-region menu scrolling

replace the theme text toggle with animated sun/moon icons

restructure the CRM API into config, middleware, models, routes, services

and utils layers

redesign the CRM shell with a single surface, tab rail, full-width blurred

DataTable, record dialogs and mask-based icons

update Docker/Nginx publishing, Makefile targets, shared UI polish and docs

Co-authored-by: Gitea Actions <-[email protected]>
2026-11-16 00:08:17 +00:00

22 lines
506 B
Docker

FROM node:22-slim AS builder
WORKDIR /repo
ARG APP_DIR
COPY package.json package-lock.json tsconfig.json tsconfig.base.json ./
COPY frontend ./frontend
COPY backend ./backend
RUN npm ci --no-audit --no-fund --fetch-retries=5
RUN npm run build --workspace=frontend/shared
RUN npm run build --workspace=${APP_DIR}
FROM alpine:3.21 AS export
ARG APP_DIR
# Vite écrit dans `dist/`, Next.js (export statique) dans `out/`.
ARG OUTPUT_DIR=dist
COPY --from=builder /repo/${APP_DIR}/${OUTPUT_DIR} /app/dist