Compare commits

..

No commits in common. "d909e024708c3bbff33e49823dd34b37ed01e050" and "827080c4736348176eb13e16a37fcc3fb4db530e" have entirely different histories.

2 changed files with 26 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

View File

@ -1,8 +1,31 @@
[phases.setup]
nixPkgs = ["python311", "cairo", "pango", "gdk-pixbuf", "glib", "shared-mime-info"]
nixPkgs = [
"python311",
"cairo",
"pango",
"gdk-pixbuf",
"glib",
"harfbuzz",
"libjpeg",
"openjpeg",
"libxcb",
"bash",
"gcc"
]
[phases.install]
cmds = ["python -m venv .venv", ". .venv/bin/activate", "pip install -r requirements.txt"]
cmds = [
"python -m venv .venv",
". .venv/bin/activate",
"pip install --upgrade pip",
"pip install -r requirements.txt"
]
[phases.build]
cmds = [
". .venv/bin/activate",
"python manage.py collectstatic --noinput"
]
[start]
cmd = ". .venv/bin/activate && sh entrypoint.sh"
cmd = ". .venv/bin/activate && gunicorn config.wsgi:application --bind 0.0.0.0:8000"