54 Commits

Author SHA1 Message Date
361262a9da Update Dockerfile
Some checks failed
Build and push image to DockerHub / build (push) Has been cancelled
2025-05-31 13:56:57 +00:00
Kevin Kupski
6ec69e18b9 Fix configuration for privacy policy and terms URLs 2025-05-05 19:28:19 +02:00
Conrad
87a2f7bc50 fix: adressed docker warnings 2025-05-05 10:51:54 +02:00
5bd7a1e636 Fix GHA docker builds 2025-04-17 19:51:32 -06:00
Keith Williams
ab5921510c fix: Test runtime issue with Docker container 2024-12-04 17:24:58 +01:00
Keith Williams
817138162f fix: i18n.json file missing 2024-11-30 10:47:39 -03:00
Alex van Andel
dc129e1e13 Update Dockerfile 2024-08-06 11:32:57 +01:00
Keith Williams
9ef03e7ecd fix: Issue with out-of-sync yarn.lock (#368) 2024-07-22 11:23:22 +02:00
Hariom Balhara
7218b23e5c Fix missing embed folder in public (#364) 2024-07-11 10:50:18 +02:00
Keith Williams
7924c2051a fix: Docker builds (#359)
* Testing: Separate RUN commands

* Test with no prune

* Copying v2 API app to test

* Added NEXT_PUBLIC_API_V2_URL

* Added default value for NEXT_PUBLIC_API_V2_URL

* add cleanup step in docker-build-push-dockerhub

* move cleanup and add directory list for directory context

* --WIP

* Setting the CWD for building the web app

* Trying a workspace command to run with --cwd

* Use action to free disk space

* combined the jobs

* Bring back app router

* Clean up

* Removed the extra push image step

* clean up

* Made the checkout more flexible

* Just testing the github.ref

* Reverted changes related to the version input

---------

Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com>
2024-05-09 13:13:00 -03:00
Omar López
91015a7239 fix: add missing env variables (#325)
* fix: add missing env variables

* Added DATABASE_DIRECT_URL to README

* Updated text

* Added to build-time variable and removed default

* Removed extra connection string

---------

Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2024-02-08 10:06:08 -03:00
Marc Rubio
769c1d91ee fix: add missing tests folder required for build
cal.com v3.2.9 has a new tests folder. The Docker image build fails without it.
2023-09-11 16:25:26 +10:00
D. Domig
4ea7fc4db6 Add health check 2023-06-14 09:51:22 +02:00
Colin Griffin
75d7a8b290 remove 'yarn global add turbo' 2023-03-22 16:58:50 -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
Colin Griffin
66b448b21d add yarnrc to runner 2023-03-20 02:33:39 -04:00
Colin Griffin
556765e31c add db-deploy and seed 2023-03-20 00:09:22 -04:00
eleith
ea2486a36a add preinstall script dependencies
recent changes in the main repository added a `preinstall` step:

8d078564dd

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
2023-01-21 12:29:12 -08:00
Colin Griffin
bbd5c3018e add build filter 2022-11-11 17:58:54 -05:00
Colin Griffin
97c6997c94 correct package scope 2022-11-11 17:51:06 -05:00
Colin Griffin
8e0f97489d prune packages to resolve storybook conflict 2022-11-11 17:49:03 -05:00
Connery Noble
72005db13d Support both build-time and run-time values for WEBAPP_URL. Improve re-build time, if just the WEBAPP_URL is changed. 2022-09-29 12:31:58 -07:00
Connery Noble
46a0e729db feat(frontend): use runtime NEXT_PUBLIC_WEBAPP_URL to replace build-time frontend value 2022-09-08 17:05:31 -07:00
Colin Griffin
8b23568c4b add yarn timeout config for arm64 emulator help 2022-07-26 10:10:11 -04:00
Colin Griffin
25dbb33e92 add node memory options 2022-07-21 10:29:20 -04:00
Chase Bolt
fd0e00e1ac bump to node version 16 2022-07-12 17:28:11 -07:00
Kelvin F. Alfaro
c283a92614 Add files via upload 2022-07-03 11:57:51 -05:00
Colin Griffin
03c15c8c30 replace encryption key with CALCOM_TELEMETRY_DISABLED 2022-06-15 14:02:22 -04:00
Colin Griffin
7d46413f2a update language and variable defaults 2022-06-15 13:27:28 -04:00
Colin Griffin
9229e0dcec arrange variables to match instructions 2022-06-15 13:02:24 -04:00
Colin Griffin
deb3cafa38 add defaults for auth secrets 2022-06-15 12:49:35 -04:00
m4tze
002ec4f566 Update Dockerfile
Add missing env variables to build args and environment of build container
2022-06-10 02:06:28 +02:00
Colin Griffin
5b6b7dbee0 revert removal of prisma schema 2022-05-26 12:53:13 -04:00
Chase Bolt
51f0c2c287 adding back required files 2022-05-16 13:56:56 -07:00
Chase Bolt
08a3caeb35 overhaul dockerfile to include missing files required to build successfully 2022-05-13 23:17:25 -07:00
Anthony Neto
2e85d98650 fix: dockerfile copy packages from deps stage 2022-05-12 14:37:35 -07:00
Colin Griffin
f85a68515e update dockerfile with updated env variables 2022-04-26 16:56:33 -04:00
Colin Griffin
a29e342492 remove repetitive install step and use node_modules from deps 2022-04-26 16:01:13 -04:00
Colin Griffin
8b14ee6ffd update required env variables 2022-04-26 15:58:52 -04:00
Colin Griffin
29f1c5704a remove env file copy 2022-04-25 17:54:12 -04:00
Colin Griffin
c0a33233ae update dockerfile, use single stage for now 2022-04-25 17:21:12 -04:00
Alex Sears
60557d31fd Update Dockerfile to install prisma globally
Prisma is a dev dependency in the main project. However, it is
needed in the image so we can run the migrations before starting
the server up. This installs it globally in the image since it
won't be installed using the project's `package.json`.

Signed-off-by: Alex Sears <me@alexsears.com>
2022-02-18 15:12:09 -05:00
Alex Sears
05560ff1a3 Update Dockerfile to use workspaces setup
The main Cal.com project has started using Yarn workspaces to
break the project up into separate packages and treat the project
as a monorepo. This required quite a few changes to the Dockerfile
that assumed the previous project setup.

Signed-off-by: Alex Sears <me@alexsears.com>
2022-02-17 16:07:11 -05:00
Colin Griffin
9f0800d5ce rework directories 2022-02-11 19:08:41 -05:00
Colin Griffin
4bccd8ae31 update app path 2022-02-11 17:12:05 -05:00
Alex Sears
72ac9fcd19 Add build args for Next.js build 2022-01-06 17:58:19 -05:00
Colin Griffin
097f9177b3 add build args and temporarily remove alpine 2021-11-19 10:57:57 -05:00
Peer Richelsen
42bc241ab5 Revert "Fix 'Failed to load SWC binary' issue in Docker build process" 2021-11-18 00:23:12 +00:00
Kovah
77ffd4d785 Fix 'Failed to load SWC binary' issue in Docker build process 2021-11-08 16:27:22 +01:00
Anton Podviaznikov
ff23243bd3 fix dockefile: coudl not start because config file is missing 2021-10-16 10:09:57 -07:00