mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
- Remove TODO comments from base-ui, radix-ui, core, mdx packages - Replace nginx:alpine with ghcr.io/hanzoai/static in all app Dockerfiles (bot-docs, cloud, flow, visor)
17 lines
424 B
Docker
17 lines
424 B
Docker
FROM node:20-alpine AS builder
|
|
RUN corepack enable
|
|
WORKDIR /app
|
|
|
|
# Copy workspace root config
|
|
COPY package.json pnpm-workspace.yaml pnpm-lock.yaml turbo.json ./
|
|
|
|
# Copy only the packages needed and the cloud app
|
|
COPY packages/ ./packages/
|
|
COPY apps/cloud/ ./apps/cloud/
|
|
|
|
RUN pnpm install --frozen-lockfile
|
|
RUN pnpm --filter @hanzo/cloud build
|
|
|
|
FROM ghcr.io/hanzoai/static:latest
|
|
COPY --from=builder /app/apps/cloud/out /srv
|