This tool takes a release.tar.gz build file and deploys it as a container, along with its own database container.
Requirements
Node
16.xor laterDocker
Usage
From the
dev/deploy-to-containerdirectory, run the command:
npm install
Make sure you have a
release.tar.gztarball in the project root directory.From the project root directory (back up 2 levels), run the command: (replacing the
branchanddomainarguments)
node ./dev/deploy-to-container/cli.js --branch main --domain something.com
A container named dt-app-BRANCH and dt-db-BRANCH (where BRANCH is the argument provided above) will be created.