Dockerfile example app for Node Hub - Dockerfile type
Find a file
2026-06-03 17:36:20 -07:00
app.yml Initial commit 2026-03-15 09:24:54 -07:00
Dockerfile Initial commit 2026-03-15 09:24:54 -07:00
index.js Initial commit 2026-03-15 09:24:54 -07:00
lefthook.yml chore: add lefthook pre-commit hooks 2026-06-03 17:36:20 -07:00
package.json Initial commit 2026-03-15 09:24:54 -07:00
README.md Initial commit 2026-03-15 09:24:54 -07:00

Dockerfile Example

This example demonstrates deploying a Node.js app using a custom Dockerfile.

Files

  • app.yml - App manifest with type: "dockerfile"
  • Dockerfile - Custom Docker image build instructions
  • index.js - Simple HTTP server
  • package.json - Node.js dependencies

Deployment

Upload as ZIP or deploy from Git repo. Node Hub will build the Docker image and run the container.

Environment Variables

  • PORT - Server port (default: 8080)
  • MESSAGE - Response message (default: "Hello from Dockerfile!")