diff --git a/admin-lehrer/Dockerfile b/admin-lehrer/Dockerfile index dd0590b..735985c 100644 --- a/admin-lehrer/Dockerfile +++ b/admin-lehrer/Dockerfile @@ -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 diff --git a/studio-v2/Dockerfile b/studio-v2/Dockerfile index baf95aa..52c0ca3 100644 --- a/studio-v2/Dockerfile +++ b/studio-v2/Dockerfile @@ -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 diff --git a/website/Dockerfile b/website/Dockerfile index 9d3ba6a..0f3ea4c 100644 --- a/website/Dockerfile +++ b/website/Dockerfile @@ -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