deploy.cc / Generator
Deploy config generator
Pick a type, fill in options, get a ready-to-use file. Outputs are tested with actionlint, hadolint, systemd-analyze and docker build before release; action versions checked 2026-11-13.
Actions → Cloudflare PagesActions → GitHub PagesActions → SSH deploy to VPSActions → Docker build & pushDockerfiledocker-compose.ymlsystemd unitPM2 ecosystem
Dockerfile
# syntax=docker/dockerfile:1 # node Dockerfile (deploy.cc) FROM node:24-alpine ENV NODE_ENV=production WORKDIR /app COPY package.json package-lock.json ./ RUN npm ci --omit=dev && npm cache clean --force COPY --chown=1000:1000 . . # 1000 = the built-in "node" user of the official image USER 1000 EXPOSE 3000 ENV PORT=3000 CMD ["node","server.js"]
- Requires package-lock.json; adjust for pnpm/yarn.
- If your app needs compiling, split it into a build stage and a runtime stage.
- Add a .dockerignore (node_modules, .git, .env).
Inputs are restricted to safe characters; invalid values fall back to defaults.