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:
Benjamin Admin
2026-04-25 16:42:45 +02:00
parent f3b9617fc3
commit 06ea9f7073
3 changed files with 5 additions and 5 deletions

View File

@@ -9,9 +9,9 @@ COPY admin-lehrer/package.json admin-lehrer/package-lock.json* ./
# Install dependencies # Install dependencies
RUN npm install RUN npm install
# Copy source code + shared types # Copy source code + shared types (../shared/ relative to /app)
COPY admin-lehrer/ . COPY admin-lehrer/ .
COPY shared/ /shared/ COPY shared/ ../shared/
# Build arguments for environment variables # Build arguments for environment variables
ARG NEXT_PUBLIC_API_URL ARG NEXT_PUBLIC_API_URL

View File

@@ -9,9 +9,9 @@ COPY studio-v2/package.json studio-v2/package-lock.json* ./
# Install dependencies # Install dependencies
RUN npm install RUN npm install
# Copy source files + shared types # Copy source files + shared types (../shared/ relative to /app)
COPY studio-v2/ . COPY studio-v2/ .
COPY shared/ /shared/ COPY shared/ ../shared/
# Build arguments for environment variables (needed at build time for Next.js) # Build arguments for environment variables (needed at build time for Next.js)
ARG NEXT_PUBLIC_VOICE_SERVICE_URL ARG NEXT_PUBLIC_VOICE_SERVICE_URL

View File

@@ -11,7 +11,7 @@ RUN npm install
# Copy source code + shared types # Copy source code + shared types
COPY website/ . COPY website/ .
COPY shared/ /shared/ COPY shared/ ../shared/
# Build arguments for environment variables # Build arguments for environment variables
ARG NEXT_PUBLIC_BILLING_API_URL ARG NEXT_PUBLIC_BILLING_API_URL