Compare commits

..

38 Commits

Author SHA1 Message Date
Colin Griffin
556765e31c add db-deploy and seed 2023-03-20 00:09:22 -04: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
actions-user
a46637ebf5 Auto updated submodule references 2023-03-07 04:04:30 +00:00
actions-user
fe7e381e74 Auto updated submodule references 2023-03-06 04:04:16 +00:00
actions-user
646127b78b Auto updated submodule references 2023-03-05 04:04:09 +00:00
actions-user
2f73753547 Auto updated submodule references 2023-03-04 04:04:30 +00:00
actions-user
c20e4c0e2c Auto updated submodule references 2023-03-03 04:31:12 +00:00
actions-user
052c73319b Auto updated submodule references 2023-03-02 04:04:29 +00:00
actions-user
648719a893 Auto updated submodule references 2023-03-01 04:04:20 +00:00
actions-user
ed3d7db115 Auto updated submodule references 2023-02-28 04:04:17 +00:00
actions-user
ac51207cf2 Auto updated submodule references 2023-02-26 04:04:18 +00:00
actions-user
5d73aa98ae Auto updated submodule references 2023-02-25 04:04:26 +00:00
actions-user
f513207635 Auto updated submodule references 2023-02-24 04:04:23 +00:00
actions-user
9c63f2c5ca Auto updated submodule references 2023-02-23 13:09:44 +00:00
actions-user
6e52f5fe98 Auto updated submodule references 2023-02-23 04:04:30 +00:00
actions-user
d9a0883213 Auto updated submodule references 2023-02-22 04:04:10 +00:00
actions-user
2481295170 Auto updated submodule references 2023-02-21 04:04:18 +00:00
actions-user
861d81afdf Auto updated submodule references 2023-02-20 04:04:28 +00:00
actions-user
f13b606f4c Auto updated submodule references 2023-02-19 04:04:13 +00:00
actions-user
5a0c6ff4c2 Auto updated submodule references 2023-02-17 04:04:11 +00:00
actions-user
0dd6e76218 Auto updated submodule references 2023-02-16 04:04:28 +00:00
actions-user
045da5b5a6 Auto updated submodule references 2023-02-15 04:04:23 +00:00
actions-user
ea6f007b7d Auto updated submodule references 2023-02-14 04:04:12 +00:00
actions-user
d5b1d5efda Auto updated submodule references 2023-02-13 04:04:10 +00:00
actions-user
b32d5a5a11 Auto updated submodule references 2023-02-12 04:04:08 +00:00
actions-user
84db4f1335 Auto updated submodule references 2023-02-11 04:04:11 +00:00
actions-user
1acb697ff2 Auto updated submodule references 2023-02-10 04:04:14 +00:00
actions-user
92b3fd0196 Auto updated submodule references 2023-02-09 04:04:26 +00:00
actions-user
d2be28f835 Auto updated submodule references 2023-02-08 04:04:18 +00:00
actions-user
dfea5d6096 Auto updated submodule references 2023-02-07 04:04:31 +00:00
2 changed files with 14 additions and 13 deletions

View File

@@ -1,6 +1,7 @@
FROM node:16 as builder
FROM node:18 as builder
WORKDIR /calcom
ARG NEXT_PUBLIC_LICENSE_CONSENT
ARG CALCOM_TELEMETRY_DISABLED
ARG DATABASE_URL
@@ -16,30 +17,30 @@ 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 calcom/git-init.sh calcom/git-setup.sh ./
RUN yarn global add turbo
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/packages ./packages
RUN yarn global add turbo && \
yarn config set network-timeout 1000000000 -g && \
RUN yarn config set httpTimeout 1200000 && \
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
FROM node:16 as runner
FROM node:18 as runner
WORKDIR /calcom
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
ENV NODE_ENV production
RUN apt-get update && \
apt-get -y install netcat && \
rm -rf /var/lib/apt/lists/* && \
npm install --global prisma
COPY calcom/package.json calcom/yarn.lock calcom/turbo.json ./
COPY calcom/.yarn ./.yarn
COPY --from=builder /calcom/node_modules ./node_modules
COPY --from=builder /calcom/packages ./packages
COPY --from=builder /calcom/apps/web ./apps/web
@@ -54,4 +55,4 @@ ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
RUN scripts/replace-placeholder.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER ${NEXT_PUBLIC_WEBAPP_URL}
EXPOSE 3000
CMD ["/calcom/scripts/start.sh"]
CMD ["/calcom/scripts/start.sh"]

2
calcom

Submodule calcom updated: bdb4a7353b...325dc9805f