The Docker configuration for Cal.com is an effort powered by people within the community. Cal.com, Inc. does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
=> CACHED [builder 5/7] COPY calcom/packages ./packages 0.0s
=> ERROR [builder 6/7] RUN yarn global add turbo && yarn config set network-timeout 1000000000 -g && turbo prune --scope=@calcom/web --d 25.9s
#0 15.17 yarn config v1.22.19
#0 15.19 success Set "network-timeout" to "1000000000".
#0 15.19 Done in 0.03s.
#0 16.94 ERROR could not determine if yarn is using `nodeLinker: node-modules`: .yarnrc.yml: open /calcom/.yarnrc.yml: no such file or directory
#0 16.94 Turbo error: could not determine if yarn is using `nodeLinker: node-modules`: .yarnrc.yml: open /calcom/.yarnrc.yml: no such file or directory
------
failed to solve: executor failed running [/bin/sh -c yarn global add turbo && yarn config set network-timeout 1000000000 -g && turbo prune --scope=@calcom/web --docker && yarn install]: exit code: 1
What I tried (1)
Copy the file from calcom during build phases adding this line into Dockerfile
COPY calcom/.yarnrc.yml ./
What I run
DOCKER_BUILDKIT=0 sudo docker compose build calcom
What I get
What I tried (1)
Copy the file from calcom during build phases adding this line into Dockerfile
COPY calcom/.yarnrc.yml ./
Results:
What I tried (2)
Results:
What I tried (3)
Results: