Student projects
Deploy a Docker project online
If your project builds from a Dockerfile, your language is supported. Rust, Elixir, Deno, Bun, C++, a game server, a legacy stack, anything that starts and listens on a port. We build the image, run it, and keep your data on the same machine.
What you get.
Bring a Dockerfile and deploy anything online, from ₹99 a month.
How it fits
- Any language or stack with a Dockerfile
- Docker builds and runs as-is, no platform config to translate
- Bots and long-lived servers should be on Awake, which never sleeps
- A database on the same machine, in any of three engines
Deploy it, step by step
The dashboard flow is the same for every project:
- Sign in with GitHub. Go to the dashboard and sign in. Your first sign-in puts 30 days of Nap credit in your balance, with no card and nothing to cancel.
- Create an application. Press New app and give it a name: three characters or more, letters, numbers and hyphens. The address is shown under the field as you type, and it is yourapp-yourlogin.dormhost.app.
- Pick the plan. Nap sleeps when nobody is using it. Awake never sleeps, which is what a bot, a worker or a scheduled job needs. Either way, you choose Mumbai, London or Ashburn.
- Point it at your repository. Paste the GitHub URL and the branch. Press Connect GitHub to pick from a list instead, which is also how a private repository is deployed. Then press Create and deploy.
- Watch the build log. The application opens on Overview, and Live logs streams the build. Listen on the port in the PORT variable we set, or EXPOSE one port in your Dockerfile, and the address answers as soon as the build finishes.
What is different about Docker
- Put the Dockerfile in the repository root. It wins over automatic detection, and there is no setting to switch.
- EXPOSE exactly one port. We read it from the built image and route HTTPS to it, so a second port is a guess we will get wrong.
- Or read the PORT variable we set and listen on that, which works whatever the image declares.
- Write anything you want to keep to /data. It is mounted already and it survives every deploy.
- Keep the image small with a multi-stage build. A smaller image builds faster and wakes faster.
Hosting is ₹99 a month on Nap, all in: the build, the running app, the database and the storage. Nothing is metered separately, so the bill cannot surprise you. Start with 30 days of free credit, no card required. The docs cover databases, domains and what to do when a build fails.