From 41f422ab17c99caf840bd6222010de55f01d4f4e Mon Sep 17 00:00:00 2001 From: jaxperro Date: Sat, 13 Jun 2026 17:01:43 -0400 Subject: [PATCH] Add Railway/Nixpacks build config (requirements.txt, nixpacks.toml, runtime.txt) Pure-stdlib repo had no language signal, so Nixpacks failed to build an image. requirements.txt (empty) triggers Python detection; nixpacks.toml pins python311 and sets the start command to the webhook receiver. --- nixpacks.toml | 6 ++++++ requirements.txt | 2 ++ runtime.txt | 1 + 3 files changed, 9 insertions(+) create mode 100644 nixpacks.toml create mode 100644 requirements.txt create mode 100644 runtime.txt diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 00000000..5aad7e2e --- /dev/null +++ b/nixpacks.toml @@ -0,0 +1,6 @@ +# Explicit build config for Railway/Nixpacks (pure-stdlib Python service) +[phases.setup] +nixPkgs = ["python311"] + +[start] +cmd = "python3 webhook_receiver.py" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..978a75c9 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +# Winning Wallet Finder — no third-party deps, Python 3 stdlib only. +# This file exists so Railway/Nixpacks detects a Python app. diff --git a/runtime.txt b/runtime.txt new file mode 100644 index 00000000..2c073331 --- /dev/null +++ b/runtime.txt @@ -0,0 +1 @@ +3.11