Files
CoHaiSe-CLOUD/docker/Dockerfile.app
T
Esiah cc397e96d8
PR — Ouverture automatique / create-pr (push) Failing after 1s
chore: initial import of CoHaiSe Cloud
Standalone files & media application: React/Vite frontend with the @cohaise/ui design system, Hono + MariaDB backend, nginx reverse proxy, Docker Compose stack, migrations 000-006, and project docs.

Adds Gitea Actions workflows for deployment, automatic pull requests, and Renovate dependency updates.
2026-10-14 15:24:06 +02:00

19 lines
387 B
Docker

FROM node:22-alpine AS builder
WORKDIR /repo
ARG APP_DIR
COPY package.json package-lock.json tsconfig.json tsconfig.base.json ./
COPY frontend ./frontend
RUN --mount=type=cache,target=/root/.npm npm ci
RUN npm run build --workspace=frontend/shared
RUN npm run build --workspace=${APP_DIR}
FROM alpine:3.21 AS export
ARG APP_DIR
COPY --from=builder /repo/${APP_DIR}/dist /app/dist