---
title: "I Will dockerize your Node.js, Next.js or Rust app and set up CI/CD with GitHub Actions or GitLab CI"
url: https://zinnhub.com/zinns/i-will-dockerize-your-node-js-next-js-or-rust-app-and-set-up-ci-cd-with-github-actions-or-gitlab-ci/
description: "Your app runs on one laptop and deploys by hand. I put it in Docker, add a GitHub Actions or GitLab CI pipeline that tests and builds it on every push, and set up a deploy to your server or platform that runs from the repository."
published: 2026-10-01T09:59:35+00:00
modified: 2026-10-01T09:59:35+00:00
language: en-GB
---

# I Will dockerize your Node.js, Next.js or Rust app and set up CI/CD with GitHub Actions or GitLab CI

If your deploy is a list of commands someone has to remember, this service replaces it. I make the app reproducible first, then automatic: the same image runs on a laptop, in CI and on the server, and a push to the main branch is all a release takes.

Starter is the container: a production Dockerfile, a compose file that runs the app and its database locally, and a README that gets a new developer running with one command. Standard adds a pipeline that installs, lints, runs your tests and builds the image on every push and every pull or merge request. It runs on GitHub Actions or GitLab CI, depending on where your code lives. Advanced adds the deploy: on merge to main, the pipeline ships the app to your Linux server over SSH or to Railway or Fly.io, which run the same image, or hands a Next.js app to Vercel, which builds it in its own way. Deploy keys and tokens are kept in GitHub’s encrypted secrets or GitLab’s protected CI/CD variables, not in the code, and you get a written way to roll back.

Images stay small with multi-stage builds, the app runs as a non-root user, and configuration comes from environment variables, so the same image serves staging and production. The same approach covers Node.js and Next.js apps, Rust services and static sites.

My two public web projects, a Next.js storefront and my personal site, show the pipeline side of this: GitHub Actions builds and deploys both on every push to the main branch, and runs the storefront’s unit and browser tests before it deploys. They are static sites, so they ship without a container. On the Rust side, my open-source crate has a GitHub Actions pipeline that runs on every push to main and every pull request: formatting, lints, tests, the minimum supported Rust version and dependency checks. If you also run Kubernetes, manifests or a Helm chart are available as an add-on.

No calls. Everything lives in your repository and is written down, so the pipeline does not depend on me. For 14 days after delivery, I fix anything that does not work as we agreed, free of charge.

Steps for completing your project
1. Read the project – I run the app the way you do now and write down its dependencies, environment variables, database and build steps.
2. Container – A production Dockerfile and a compose file for local runs, checked by building and starting the app on a clean machine.
3. Pipeline – Install, lint, tests and the image build in your CI, on pushes and on pull or merge requests, with caching so it stays fast.
4. Deploy – On Advanced, a job that ships the app on merge to main, with keys and tokens kept in the CI platform’s secrets and a rollback step written down.
5. Handover – A README section on how to run, test and release, and what to change when a new environment variable or service is added.
