Fix: COPY shared/ to ../shared/ (relative to WORKDIR /app) for tsconfig path resolution
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -9,9 +9,9 @@ COPY admin-lehrer/package.json admin-lehrer/package-lock.json* ./
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy source code + shared types
|
||||
# Copy source code + shared types (../shared/ relative to /app)
|
||||
COPY admin-lehrer/ .
|
||||
COPY shared/ /shared/
|
||||
COPY shared/ ../shared/
|
||||
|
||||
# Build arguments for environment variables
|
||||
ARG NEXT_PUBLIC_API_URL
|
||||
|
||||
@@ -9,9 +9,9 @@ COPY studio-v2/package.json studio-v2/package-lock.json* ./
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy source files + shared types
|
||||
# Copy source files + shared types (../shared/ relative to /app)
|
||||
COPY studio-v2/ .
|
||||
COPY shared/ /shared/
|
||||
COPY shared/ ../shared/
|
||||
|
||||
# Build arguments for environment variables (needed at build time for Next.js)
|
||||
ARG NEXT_PUBLIC_VOICE_SERVICE_URL
|
||||
|
||||
@@ -11,7 +11,7 @@ RUN npm install
|
||||
|
||||
# Copy source code + shared types
|
||||
COPY website/ .
|
||||
COPY shared/ /shared/
|
||||
COPY shared/ ../shared/
|
||||
|
||||
# Build arguments for environment variables
|
||||
ARG NEXT_PUBLIC_BILLING_API_URL
|
||||
|
||||
Reference in New Issue
Block a user