← Back to Blog
Header image for blog post: How to deploy vibe-coded Claude Code apps to production in minutes
Daniel Adeboye
Published 15th May 2026

How to deploy vibe-coded Claude Code apps to production in minutes

You built an app with Claude Code. It runs locally. Now you need it on a real URL, with HTTPS, automatic redeployments when you push changes, and infrastructure that does not break when real users hit it.

This article covers how to deploy a Claude Code app to production on Northflank: getting your code into GitHub, configuring the build, and getting a live HTTPS URL with automatic redeployments on every push. Claude Code can build anything, from a static frontend to a full-stack API to a Python backend, so some steps will depend on what your app actually is.

TL;DR: How to deploy a Claude Code app to production

Claude Code builds the app. Northflank runs it in production.

  • Ask Claude Code to create a Dockerfile for your project. This is the most reliable way to deploy any Claude Code app, regardless of framework or language.
  • Push your code to GitHub. Claude Code projects are already Git repositories, so this is a standard push.
  • Connect the repository to Northflank. Northflank builds from the Dockerfile and deploys the app with TLS in under two minutes.
  • Every push to GitHub triggers an automatic redeployment on Northflank.

What is Northflank?  Northflank is a full-stack cloud platform that deploys Claude Code apps with production-grade infrastructure: managed databases, secrets management, TLS, CI/CD pipelines, preview environments per pull request, and BYOC into your own cloud. No infrastructure code. No DevOps background required.  Sign up to get started or book a demo.

Why deploy Claude Code apps on Northflank?

Claude Code outputs production-ready code to your local machine. Northflank takes that code and runs it with managed databases, secrets management, autoscaling, preview environments, CI/CD pipelines, and BYOC support when your app grows. You keep iterating with Claude Code. Northflank handles everything underneath.

Step 1: Ask Claude Code to create a Dockerfile

Before pushing to GitHub, ask Claude Code to generate a Dockerfile for your project. A Dockerfile is the most reliable way to deploy any Claude Code app on an external platform, regardless of the framework or language. In your Claude Code session, run:

Add a Dockerfile to this project so I can deploy it anywhere with Docker.

Claude Code will generate a Dockerfile specific to your project. For a Node.js app, it will install dependencies, build, and start the server. For a Python app, it will install requirements and start the ASGI or WSGI server. For a Next.js app, it will run the build and start the Next.js server.

Once Claude Code is done, check two things before moving on:

  1. The Dockerfile is visible in your project file tree
  2. Ask Claude Code: "What port does my app run on in the Dockerfile?" Write this down. You will need it in Step 4.

Confirm both look correct before continuing.

Step 2: Push your project to GitHub

Now you need to put your code on GitHub so Northflank can deploy it. If you do not have a GitHub account, create one for free at github.com before continuing.

Create a GitHub repository:

  1. Go to github.com/new
  2. Give the repository a name
  3. Leave everything else as the defaults
  4. Click Create repository

Do not add a README or .gitignore. You just need an empty repository. GitHub will show you the repository URL once it is created. Copy it. It will look like https://github.com/your-username/your-app-name.git.

Push your code:

Go back to your terminal where Claude Code is running and paste this prompt, replacing the URL with the one you copied:

Initialize a Git repository in this project if one does not already exist, then push everything to GitHub. The repository URL is https://github.com/your-username/your-app-name.git

Claude Code will initialize the repository if needed, commit all the files, and push to GitHub. Every push to GitHub from this point will trigger an automatic redeployment on Northflank once connected.

Step 3: Create a Northflank account and project

Sign up for Northflank. The free tier includes two services, one database, and two cron jobs with always-on compute.

Once you are in the dashboard, link your git account and create a new project. A project is a container for all the resources that belong to your app: services, databases, secrets, and pipelines.

  1. Click Create project from the dashboard
  2. Give it a name matching your Claude Code app
  3. Choose a deployment target (Northflank Cloud)
  4. Select a region closest to your users
  5. Click Create project

image - 2026-05-15T153635.257.png

Step 4: Deploy the app

  1. Open your project dashboard and go to the Services tab. Click ”Create service
  2. Select Combined service and enter a name, for example claude-code-app
  3. Select your repository from the dropdown and choose the branch to deploy from
  4. Under Build options, select Dockerfile. Northflank automatically detects the Dockerfile if it is in the root of the repository. If Claude Code placed it in a subdirectory, ask it for the exact path and enter it in the Dockerfile location field, for example, /app/Dockerfile
  5. Under Networking, add a public port using the port number Claude Code told you in Step 1. Northflank provisions a public HTTPS URL on this port automatically
  6. Under Environment variables, add any credentials or configuration your app needs. There are two types: build arguments are injected during the build process, and runtime variables are injected when the app is running. If you are unsure which to use, ask Claude Code: "Do my environment variables need to be available at build time or runtime?" and add them in the correct section based on the answer
  7. Leave resources at the default values. You can enable autoscaling from the resources panel at any time
  8. Click Create service

Tip: If your app has multiple services or you want to manage credentials in one place, secret groups are a better option than adding variables directly to each service.

image - 2026-05-15T153638.302.png

Northflank builds the app and deploys it. TLS is provisioned automatically. Your Claude Code app is live on a *.code.runURL in under two minutes.

image - 2026-05-15T153640.712.png

Step 5: Add a custom domain (optional)

To use your own domain, first verify it in your Northflank account settings by adding a TXT record to your DNS provider. Once verified, add a subdomain and point it to your service port using the CNAME record Northflank provides. Northflank provisions a TLS certificate automatically.

For the full walkthrough, see Add and verify a domain in the Northflank docs.

What you get

By the end of this guide, your Claude Code app has:

  • A live HTTPS URL on a .code.run subdomain or your own domain
  • Automatic redeployment on every push to GitHub
  • Environment variables are injected at runtime with no credentials in the source code
  • Always-on compute on the free tier

When your app grows and needs a managed database, background workers, preview environments per pull request, or the ability to run inside your own cloud account, Northflank covers all of it from the same control plane.

FAQ: Deploying Claude Code apps to production

Do I need to stop using Claude Code once I deploy on Northflank?

No. You keep iterating with Claude Code locally. Every time you push to GitHub, Northflank picks up the new commit and redeploys automatically. Your development workflow stays the same. The production infrastructure runs on Northflank.

Do I have to use a Dockerfile?

It is the most reliable approach for Claude Code apps since they can be any framework or language. Northflank also supports buildpacks for standard runtimes. If your app is a straightforward Node.js or Python project, you can try buildpacks first and fall back to a Dockerfile if the build fails.

My build failed on Northflank. What should I do?

Copy the error from the Northflank build logs and paste it into your Claude Code session. Claude Code can diagnose most build failures and update the Dockerfile to fix them.

What happens when I update my app with Claude Code?

Make your changes with Claude Code, commit, and push to GitHub. Northflank detects the new commit and triggers a new build and deploy automatically. No manual steps required after the initial setup.

Can I add a managed database to my Claude Code app on Northflank?

Yes. Northflank provides managed PostgreSQL, MySQL, MongoDB, Redis, MinIO, and RabbitMQ as first-class addons. Provision one from the project dashboard, and Northflank injects the connection string automatically via secret groups.

Can I set up preview environments for each pull request?

Yes. Northflank preview environments spin up an isolated copy of the app per pull request and tear down automatically on merge. For a full walkthrough, see How to auto-create preview environments on every PR.

Conclusion

Claude Code builds the app. Northflank keeps it running in production. Ask Claude Code for a Dockerfile, push to GitHub, connect to Northflank, and your app is live with TLS and automatic redeployments on every push.

Sign up for free and deploy your Claude Code app in minutes. Or book a demo if you want to walk through your specific setup with an engineer.

Share this article with your network
X