chore: initial import of CoHaiSe Cloud
PR — Ouverture automatique / create-pr (push) Failing after 1s
PR — Ouverture automatique / create-pr (push) Failing after 1s
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.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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
|
||||
Reference in New Issue
Block a user