Skip to content

Commit 7c321a2

Browse files
Fix pip installation to use python -m pip
1 parent dd1b26e commit 7c321a2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

nixpacks.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ nixPkgs = ["python312Full"]
44
# Use the default Python install behavior but ensure we use the right requirements file
55
[phases.install]
66
cmds = [
7-
"pip install --upgrade pip",
8-
"pip install -r requirements.txt"
7+
"python -m pip install --upgrade pip",
8+
"python -m pip install -r backend/requirements.txt"
99
]
1010

11+
1112
[phases.build]
1213
cmds = [
1314
"echo 'Build phase: Copying backend files'",

0 commit comments

Comments
 (0)