fix docker setup
This commit is contained in:
@@ -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 ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user