From ea2486a36a7be84a53b5c2c6598e3210535f7efc Mon Sep 17 00:00:00 2001 From: eleith Date: Sat, 21 Jan 2023 12:28:54 -0800 Subject: [PATCH] add preinstall script dependencies recent changes in the main repository added a `preinstall` step: https://github.com/calcom/cal.com/commit/8d078564dda8d9fea38ef562317f95f5378f61ac these scripts need to be in the container in order for turbo to properly run all steps without error. without them, the build step will error, complaining about a missing `.git-init.sh` script --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a403b81..e628b00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ ENV NEXT_PUBLIC_WEBAPP_URL=http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER \ CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} \ NODE_OPTIONS=--max-old-space-size=${MAX_OLD_SPACE_SIZE} -COPY calcom/package.json calcom/yarn.lock calcom/turbo.json ./ +COPY calcom/package.json calcom/yarn.lock calcom/turbo.json calcom/git-init.sh calcom/git-setup.sh ./ COPY calcom/apps/web ./apps/web COPY calcom/packages ./packages