# Can you deploy an app without Docker?

You've got an app working, you look up how to deploy it, and the first guide starts with "write a Dockerfile". Now you're learning a new tool before you can share a link.

Good news: you often don't need to learn Docker at all. Whether you need it installed depends on what you built and where you deploy it. Here's how to tell.

![Websites made of files need no Docker. Apps with their own server need to be packaged, either by the host in its cloud or by Docker Desktop on your computer. With Toupas you never write a Dockerfile.](/blog/images/docker-or-not.svg)

## What Docker does, in plain words

An app with a server needs more than its code to run: the right version of Node.js or Python, the packages it depends on, and the steps to start it. Docker packs all of that into one bundle, so it runs the same on your laptop as on the live server.

A Dockerfile is the recipe for that bundle. Writing one by hand is where most people get stuck.

## Websites never need it

If your project is a website made of files, such as plain HTML or anything built with Vite, React or Astro, there's nothing to package. The host serves your files as they are. Every good host handles these without Docker, and so does Toupas.

## Apps with a server need packaging, but not your Dockerfile

Express, Next.js with server features, FastAPI and Flask apps all need the bundle. The question is who makes it, and where.

**The host makes it in its cloud.** Platforms such as Render, Railway and Vercel connect to your code on GitHub and build it on their own computers. You don't need Docker on your laptop, but you do need your code on GitHub, and you'll choose some settings. We [compared them here](/blog/vercel-render-railway-alternatives).

**Toupas makes it on your computer.** Toupas works out how your app runs and writes the steps itself. You never write a Dockerfile, and you don't need GitHub. But the app is prepared in Docker Desktop on your computer, so Docker Desktop needs to be installed and running.

That's a fair trade for most people, but not everyone, so here's what it involves.

| What you built | Docker on your computer, with Toupas |
|---|---|
| Plain HTML, Vite, React, Astro, a static export | Not needed |
| Express, Node.js, Next.js with a server | Needed, but you don't write a Dockerfile |
| FastAPI, Flask, other Python apps | Needed, but you don't write a Dockerfile |

## Why Toupas prepares apps on your computer

- **Your code doesn't have to go anywhere first.** No GitHub account or repository needed.
- **It matches the live server.** The app is prepared on the same kind of Linux it runs on, so packages with native parts, such as image or PDF tools, work when they go live.
- **Only changed files are sent.** Updates after the first one are quicker.

## Getting Docker Desktop installed

You don't have to do this alone. If your app needs it, your coding agent says so and can install it for you, or you can run:

```sh
toupas setup docker
```

It downloads Docker's own installer from docker.com, checks it's genuine and runs it, with one password prompt. It's about 2 GB. Then open Docker Desktop, click **Accept**, and you can skip signing in. Docker Desktop is free for personal use and for companies with fewer than 250 people and less than $10 million a year in revenue.

After that, you never have to open it yourself, as long as it's running when you make the app live.

## When Docker isn't an option

Some computers can't run it: a locked-down work laptop, or an older machine short on space. In that case:

- If it's a website, nothing changes. Make it live with Toupas as usual.
- If it's an app with a server, a host that builds from GitHub may suit you better. We'd rather you picked the right tool.
- If you'd rather not write code at all, apps [built from a ChatGPT or Claude chat](/blog/what-you-can-build-with-chatgpt-or-claude) need no Docker either.

## The short way

Paste this into Claude Code, Codex or Cursor:

```
Make this app live with Toupas. Instructions: https://toupas.com/agents.md
```

The agent checks whether your app needs Docker, and if it does, asks you before installing anything. Every new app is free for 30 days, with no card.

## Questions

### Do I need Docker to deploy my app?

Not for a website made of files. Apps with their own server need to be packaged, which some hosts do in their cloud from GitHub. Toupas does it in Docker Desktop on your computer, without you writing a Dockerfile.

### Do I need to write a Dockerfile?

Not with Toupas, or with hosts that build from your repository. They work out how your app runs. You only write one if you want full control.

### Can I deploy a Next.js app without Docker?

A Next.js static export is a website, so it doesn't need Docker. A Next.js app with server features needs packaging: on Toupas that happens in Docker Desktop, and Toupas writes the steps itself.

### Is Docker Desktop free?

For personal use, education and companies with fewer than 250 people and less than $10 million a year in revenue, yes. Larger companies need a paid Docker plan.
