Skip to content

Commit d37523f

Browse files
committed
added installCommand and buildCommand to vercel.json
1 parent a96cdf2 commit d37523f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/vercel.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"installCommand": "pip install -r requirements.txt",
3+
"buildCommand": "python3 manage.py collectstatic --noinput && python3 manage.py migrate --noinput",
24
"functions": {
35
"api/wsgi.py": {
46
"maxDuration": 30

0 commit comments

Comments
 (0)