Menu

1 / 4

How to deploy one app from a monorepo with your own Dockerfile

DEV Community: docker·octave Nkurunziza·15 days ago
#vXkBCfw9
#devtodocker#devto#dev#build#dockerfile
Reading 0:00
15s threshold

Originally published on the Hubfly space blog .

By Octave · drafted with AI, tested on Hubfly space

TL;DR

What you get: one service from a monorepo running on its own HTTPS URL, built from its subfolder, with an optional Dockerfile that lives in the dashboard instead of your repo.

Who it's for: teams with apps/api , services/* or packages/* layouts, and anyone whose repo Dockerfile is written for local dev, not production.

Time: about 5 minutes of setup. The build itself takes 30–45 seconds for a small Go service.

Cost: free on the Shared tier (360 hours a month included), or about $2.23 a month for an always-on 0.5 vCPU / 512 MB Dedicated container.

Your repo holds an API, a web app, a worker and a shared/ folder. Your host wants one app per repo. So you split the repo, or fight the build until it finds the right Dockerfile.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.