diff --git a/main.py b/main.py deleted file mode 100644 index b22ebf2..0000000 --- a/main.py +++ /dev/null @@ -1,5 +0,0 @@ -# entry point for online railway deployment -from app import run - -if __name__ == '__main__': - run() \ No newline at end of file diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 0000000..3561677 --- /dev/null +++ b/nixpacks.toml @@ -0,0 +1,7 @@ +providers = ['python'] + +[phases.setup] +nixPkgs = ['python310'] +cmds = ['apt-get update','apt-get install -y --no-install-recommends ffmpeg espeak'] +[start] +cmd = "python ./app.py" \ No newline at end of file