fix docker setup

This commit is contained in:
2025-12-25 15:24:54 +01:00
parent 3ceb837e15
commit f1c01b73ad
18 changed files with 419 additions and 132 deletions

View File

@@ -5,15 +5,16 @@ WORKDIR /app
# Install bash for better shell capabilities
RUN apk add --no-cache bash
# Copy root package.json and install dependencies
# Copy package manifests and install dependencies (incl. workspaces)
COPY package.json package-lock.json ./
RUN npm ci
COPY apps/website/package.json apps/website/package.json
RUN npm ci --workspaces --include-workspace-root
RUN find ./node_modules -name "next" -print || true # Debugging line
# Copy apps/website and packages for development
# Copy sources for development (monorepo)
COPY apps/website apps/website/
COPY packages core/
COPY apps/website/tsconfig.json apps/website/
COPY core core/
COPY adapters adapters/
COPY scripts scripts/
COPY tsconfig.base.json ./