Compare commits

..

53 Commits

Author SHA1 Message Date
Colin Griffin
095cb2bdca tag version 2.8.5 2023-04-20 05:51:04 -04:00
actions-user
9d50b994da Auto updated submodule references 2023-04-20 04:04:22 +00:00
actions-user
d75d82de2b Auto updated submodule references 2023-04-19 04:04:24 +00:00
actions-user
b4e1788f38 Auto updated submodule references 2023-04-18 04:04:27 +00:00
actions-user
84d89058c8 Auto updated submodule references 2023-04-17 04:04:33 +00:00
actions-user
9d59034af8 Auto updated submodule references 2023-04-16 04:04:18 +00:00
actions-user
ccffeb1842 Auto updated submodule references 2023-04-15 04:04:24 +00:00
actions-user
76b0c8ab73 Auto updated submodule references 2023-04-14 04:04:21 +00:00
actions-user
7f2a0844a6 Auto updated submodule references 2023-04-13 04:04:20 +00:00
actions-user
04fadaf4df Auto updated submodule references 2023-04-12 04:04:22 +00:00
actions-user
3d3eb7097a Auto updated submodule references 2023-04-11 21:06:11 +00:00
actions-user
81dba2d53c Auto updated submodule references 2023-04-11 04:04:12 +00:00
actions-user
da04c4ec7e Auto updated submodule references 2023-04-10 19:51:37 +00:00
actions-user
6fb7bd8712 Auto updated submodule references 2023-04-10 04:04:35 +00:00
actions-user
ca82c6c218 Auto updated submodule references 2023-04-09 04:04:15 +00:00
actions-user
cb9db89ab1 Auto updated submodule references 2023-04-08 04:04:21 +00:00
actions-user
20137bb1e3 Auto updated submodule references 2023-04-07 04:04:31 +00:00
actions-user
78ec934aa5 Auto updated submodule references 2023-04-06 04:04:10 +00:00
actions-user
438bfddbf4 Auto updated submodule references 2023-04-05 04:04:26 +00:00
actions-user
3674dd770f Auto updated submodule references 2023-04-04 04:04:14 +00:00
actions-user
7c445ff49d Auto updated submodule references 2023-04-03 04:04:28 +00:00
actions-user
5233f097b8 Auto updated submodule references 2023-04-02 04:04:15 +00:00
actions-user
091e64a6ed Auto updated submodule references 2023-04-01 04:04:29 +00:00
actions-user
373571e4d5 Auto updated submodule references 2023-03-31 04:04:13 +00:00
actions-user
c77ccdfc4f Auto updated submodule references 2023-03-30 04:04:21 +00:00
actions-user
a81056818d Auto updated submodule references 2023-03-29 04:04:29 +00:00
actions-user
bda88300c6 Auto updated submodule references 2023-03-28 04:04:23 +00:00
actions-user
ccf2c517c3 Auto updated submodule references 2023-03-27 04:04:32 +00:00
actions-user
97a5a9b7a9 Auto updated submodule references 2023-03-26 04:04:25 +00:00
actions-user
0ae8574f10 Auto updated submodule references 2023-03-25 04:04:23 +00:00
actions-user
8e5ee518b8 Auto updated submodule references 2023-03-24 04:04:23 +00:00
actions-user
be0f84b532 Auto updated submodule references 2023-03-23 04:04:20 +00:00
Colin Griffin
75d7a8b290 remove 'yarn global add turbo' 2023-03-22 16:58:50 -04:00
actions-user
e5b7a307eb Auto updated submodule references 2023-03-22 04:04:28 +00:00
Colin Griffin
722ac1fedd Merge pull request #231 from calcom/feature/size-reduction
Reduce image size significantly
2023-03-21 16:00:07 -04:00
Colin Griffin
d4fc846117 add a third stage and remove cached files, to reduce overall size substantially 2023-03-21 04:21:31 -04:00
actions-user
4a4fb0cc4b Auto updated submodule references 2023-03-21 04:04:39 +00:00
Colin Griffin
66b448b21d add yarnrc to runner 2023-03-20 02:33:39 -04:00
Colin Griffin
3f284777d9 Merge pull request #228 from calcom/temp19fix
Update base image to node:18
2023-03-20 10:12:19 -04:00
Colin Griffin
556765e31c add db-deploy and seed 2023-03-20 00:09:22 -04:00
actions-user
e378263b9a Auto updated submodule references 2023-03-20 04:04:35 +00:00
actions-user
da0d8c72ba Auto updated submodule references 2023-03-19 04:04:31 +00:00
actions-user
265da863a7 Auto updated submodule references 2023-03-18 04:04:15 +00:00
actions-user
7c3368827d Auto updated submodule references 2023-03-17 04:04:15 +00:00
actions-user
aafe4659d5 Auto updated submodule references 2023-03-16 04:04:19 +00:00
actions-user
90bb564700 Auto updated submodule references 2023-03-15 04:04:28 +00:00
actions-user
0b4ddc1557 Auto updated submodule references 2023-03-14 04:04:24 +00:00
actions-user
83a978defc Auto updated submodule references 2023-03-13 04:04:22 +00:00
actions-user
ef94a405ec Auto updated submodule references 2023-03-12 04:04:13 +00:00
actions-user
0cea741e8d Auto updated submodule references 2023-03-11 04:04:12 +00:00
actions-user
54aa682759 Auto updated submodule references 2023-03-10 04:04:21 +00:00
actions-user
c1d515648c Auto updated submodule references 2023-03-09 04:04:20 +00:00
actions-user
ef52a6bdec Auto updated submodule references 2023-03-08 04:04:17 +00:00
2 changed files with 28 additions and 15 deletions

View File

@@ -1,6 +1,7 @@
FROM node:16 as builder FROM node:18 as builder
WORKDIR /calcom WORKDIR /calcom
ARG NEXT_PUBLIC_LICENSE_CONSENT ARG NEXT_PUBLIC_LICENSE_CONSENT
ARG CALCOM_TELEMETRY_DISABLED ARG CALCOM_TELEMETRY_DISABLED
ARG DATABASE_URL ARG DATABASE_URL
@@ -16,30 +17,32 @@ ENV NEXT_PUBLIC_WEBAPP_URL=http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER \
CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} \ CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY} \
NODE_OPTIONS=--max-old-space-size=${MAX_OLD_SPACE_SIZE} NODE_OPTIONS=--max-old-space-size=${MAX_OLD_SPACE_SIZE}
COPY calcom/package.json calcom/yarn.lock calcom/turbo.json calcom/git-init.sh calcom/git-setup.sh ./ COPY calcom/package.json calcom/yarn.lock calcom/.yarnrc.yml calcom/playwright.config.ts calcom/turbo.json calcom/git-init.sh calcom/git-setup.sh ./
COPY calcom/.yarn ./.yarn
COPY calcom/apps/web ./apps/web COPY calcom/apps/web ./apps/web
COPY calcom/packages ./packages COPY calcom/packages ./packages
RUN yarn global add turbo && \ RUN yarn config set httpTimeout 1200000 && \
yarn config set network-timeout 1000000000 -g && \ npx turbo prune --scope=@calcom/web --docker && \
turbo prune --scope=@calcom/web --docker && \ yarn install && \
yarn install yarn db-deploy && \
yarn --cwd packages/prisma seed-app-store
RUN yarn turbo run build --filter=@calcom/web RUN yarn turbo run build --filter=@calcom/web
FROM node:16 as runner # RUN yarn plugin import workspace-tools && \
# yarn workspaces focus --all --production
RUN rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
FROM node:18 as builder-two
WORKDIR /calcom WORKDIR /calcom
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000 ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NODE_ENV production ENV NODE_ENV production
RUN apt-get update && \ COPY calcom/package.json calcom/.yarnrc.yml calcom/yarn.lock calcom/turbo.json ./
apt-get -y install netcat && \ COPY calcom/.yarn ./.yarn
rm -rf /var/lib/apt/lists/* && \
npm install --global prisma
COPY calcom/package.json calcom/yarn.lock calcom/turbo.json ./
COPY --from=builder /calcom/node_modules ./node_modules COPY --from=builder /calcom/node_modules ./node_modules
COPY --from=builder /calcom/packages ./packages COPY --from=builder /calcom/packages ./packages
COPY --from=builder /calcom/apps/web ./apps/web COPY --from=builder /calcom/apps/web ./apps/web
@@ -53,5 +56,15 @@ ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
RUN scripts/replace-placeholder.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER ${NEXT_PUBLIC_WEBAPP_URL} RUN scripts/replace-placeholder.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER ${NEXT_PUBLIC_WEBAPP_URL}
FROM node:18 as runner
WORKDIR /calcom
COPY --from=builder-two /calcom ./
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
BUILT_NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL
ENV NODE_ENV production
EXPOSE 3000 EXPOSE 3000
CMD ["/calcom/scripts/start.sh"] CMD ["/calcom/scripts/start.sh"]

2
calcom

Submodule calcom updated: 56a2b66190...6c753290aa