Deploy a folder with dock
No GitHub needed. dock deploy uploads your project folder, builds it and follows it until it's live.
dock is DockHosting's command-line tool. Its deploy command ships the folder you're in: handy when your code isn't on GitHub, for quick tests, or when you just prefer the terminal.
Install and sign in
curl -fsSL https://cli.dockhosting.dev/install.sh | shdock logindock login opens your browser on a page that shows the request: the computer, its address and when it asked. Approve it only if it's yours.

Deploy
cd my-app
dock deployThe first time in a folder, dock:
- Detects your stack, the same way the dashboard does.
- Asks for the project's name, which variables from your
.envto send, and whether to create a database. - Shows what it will upload and asks to go ahead.
- Uploads the folder and follows the build until your app is live, then prints its address.
The folder is linked to the project (in .dock/project.json), so the next dock deploy just ships a new version.
What is uploaded
dock skips node_modules, vendor, .git, every .env* file and whatever your .gitignore lists. Uploads can be up to 200 MB compressed (1 GB and 50,000 files unpacked). The build installs your dependencies itself.
Your secrets stay out of the upload
.env files are never uploaded. dock asks which of their values to set as the project's variables, where they're stored encrypted.
Useful options
| Command | What it does |
|---|---|
dock deploy --yes | No questions: use what's linked and detected (for scripts) |
dock deploy --new | Make a new project for this folder instead of the linked one |
dock logs --follow | Stream your app's output |
dock logs --build | The latest build's log |
dock status | The project's state and latest deployment |
See the full command reference.
