first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Fallback, если Dokploy выбрал Nixpacks вместо Docker/Compose
|
||||
providers = ["python"]
|
||||
|
||||
[variables]
|
||||
NIXPACKS_PYTHON_VERSION = "3.12"
|
||||
|
||||
[phases.setup]
|
||||
nixPkgs = ["python312", "gcc"]
|
||||
|
||||
[phases.install]
|
||||
cmds = ["python -m pip install --upgrade pip", "pip install -r app/requirements.txt"]
|
||||
|
||||
[start]
|
||||
cmd = "cd app && uvicorn main:app --host 0.0.0.0 --port 8000"
|
||||
Reference in New Issue
Block a user