Skip to content

Scheduling infrastructure for absolutely everyone.

chore: Removed unneeded yarn reinstall API v2 Docker (#24772)

Keith Williams1e1298fdbc48
diff --git a/apps/api/v2/Dockerfile b/apps/api/v2/Dockerfile
index 6e1158460a8..d06763fce4a 100644
--- a/apps/api/v2/Dockerfile
+++ b/apps/api/v2/Dockerfile
@@ -16,14 +16,8 @@ ENV DATABASE_URL=${DATABASE_URL}
COPY . .
RUN yarn install
-
-# Build prisma schema and make sure that it is linked to v2 node_modules
RUN yarn workspace @calcom/api-v2 run generate-schemas
-RUN rm -rf apps/api/v2/node_modules
-RUN yarn install
-
RUN yarn workspace @calcom/platform-libraries run build
-
RUN yarn workspace @calcom/api-v2 run build
EXPOSE 80