Configuration
Runtimes and languages
Supported stacks, framework detection, and the fixed base images each runtime builds on.
Supported runtimes
Lofenta builds Dockerfile, Node.js, Python, Go, Laravel/PHP, static HTML sites, and the built-in templates. If your stack is not auto-detected, add a Dockerfile.
Node.js
package.json at repo rootPython
requirements.txt or pyproject.tomlGo
go.modLaravel / PHP
composer.jsonStatic HTML
index.html (root or public/), no package.jsonDocker
Dockerfile at repo rootBase images
Each auto-detected runtime builds on a fixed base image. Versions are not selectable:
If you need a different version, add a Dockerfile at your repo root and pin whatever base image you like.
Static sites
Lofenta deploys long-running server processes. For static sites (Vite, CRA, Hugo, Astro static export, etc.) the supported pattern is to bundle a tiny static server in a Dockerfile:
FROM node:22-alpine AS builder WORKDIR /app COPY . . RUN npm ci && npm run build FROM node:22-alpine WORKDIR /app RUN npm i -g serve COPY --from=builder /app/dist ./dist CMD ["serve", "-l", "$PORT", "dist"]
Private packages
To install packages from private registries (GitHub Packages, npm private registry, etc.), set the auth token as an environment variable and configure your .npmrc to reference it:
# .npmrc
@myorg:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}Then add NPM_TOKEN as an environment variable in your Lofenta project.
Next
Custom domains
Map your domain to a project