Files
calorie_tracker_2/nixpacks.toml
Jp b2bd4cba02 chore: replace Docker setup with Nixpacks configuration
- Remove Dockerfile and docker-compose.yml in favor of nixpacks.toml
- Keep backup files (Dockerfile.bak, docker-compose.yml.bak) for reference
- Nixpacks provides a simpler, declarative approach to building and deploying
2026-02-02 15:36:22 +08:00

14 lines
195 B
TOML

providers = ["node"]
[phases.setup]
nixPkgs = ["python3", "gnumake", "gcc", "sqlite"]
[phases.install]
cmds = ["npm ci"]
[phases.build]
cmds = ["npm run build"]
[start]
cmd = "npm run start"