Docker Compose build vs image on a VPS
The image key selects an image. The build key builds one. What each means on a VPS, why compose up ignores your Dockerfile change, and the fix.
Filtering by topic #deployment · clear
The image key selects an image. The build key builds one. What each means on a VPS, why compose up ignores your Dockerfile change, and the fix.
A fresh Ubuntu server blocks pip install with externally-managed-environment. Choose venv, pipx or uv by what you install, then point systemd at it.
Learn how ln -s links work on Linux: absolute versus relative targets, readlink and realpath, and the ln -sfn and mv -T release switch for VPS deploys.
Your agent wrote the app. Now keep it running: systemd supervision, a reverse proxy with TLS, an env file for secrets, backups, and safe redeploys.
What Django and Flask really cost on a 1 to 2 GB VPS: resident memory per gunicorn worker, and how many workers a small box can honestly run.
How npm supply-chain attacks reach a Node app on a VPS: malicious patch releases, postinstall scripts, typosquats, and the deploy practice that stops them.