* 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>
* 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>
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
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>
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>