From 827080c4736348176eb13e16a37fcc3fb4db530e Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Fri, 30 Jan 2026 17:20:44 +0000 Subject: [PATCH] deploy3 --- nixpacks.toml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 nixpacks.toml diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 0000000..13eec4f --- /dev/null +++ b/nixpacks.toml @@ -0,0 +1,31 @@ +[phases.setup] +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 --upgrade pip", + "pip install -r requirements.txt" +] + +[phases.build] +cmds = [ + ". .venv/bin/activate", + "python manage.py collectstatic --noinput" +] + +[start] +cmd = ". .venv/bin/activate && gunicorn config.wsgi:application --bind 0.0.0.0:8000"