deploy.ccSelf-hosting deploy handbook
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.

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"]

Inputs are restricted to safe characters; invalid values fall back to defaults.