20 lines
357 B
TOML
20 lines
357 B
TOML
[variables]
|
|
NODE_ENV = "production"
|
|
NEXT_PUBLIC_API_URL = ""
|
|
PYTHONUNBUFFERED = "1"
|
|
|
|
[phases.setup]
|
|
nixPkgs = ["python312", "nodejs_22", "ffmpeg"]
|
|
|
|
[phases.install]
|
|
cmds = [
|
|
"pip install --no-cache-dir -r requirements.txt",
|
|
"cd frontend && npm ci"
|
|
]
|
|
|
|
[phases.build]
|
|
cmds = ["cd frontend && npm run build"]
|
|
|
|
[start]
|
|
cmd = "bash scripts/start-coolify.sh"
|