test tmpfs for build

This commit is contained in:
Colin Griffin
2023-06-11 17:07:27 -04:00
parent 408c36a221
commit 03569bcc72

View File

@@ -22,14 +22,14 @@ COPY calcom/.yarn ./.yarn
COPY calcom/apps/web ./apps/web
COPY calcom/packages ./packages
RUN --mount=type=tmpfs,target/calcom,size=2G \
yarn config set httpTimeout 1200000 && \
RUN yarn config set httpTimeout 1200000 && \
npx turbo prune --scope=@calcom/web --docker && \
yarn install && \
yarn db-deploy && \
yarn --cwd packages/prisma seed-app-store
RUN yarn turbo run build --filter=@calcom/web
RUN --mount=type=tmpfs,destination=/tmp \
yarn turbo run build --filter=@calcom/web
# RUN yarn plugin import workspace-tools && \
# yarn workspaces focus --all --production