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.
19 lines
387 B
Docker
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
|