mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
feat: support railway template
This commit is contained in:
5
main.py
5
main.py
@@ -1,5 +0,0 @@
|
||||
# entry point for online railway deployment
|
||||
from app import run
|
||||
|
||||
if __name__ == '__main__':
|
||||
run()
|
||||
7
nixpacks.toml
Normal file
7
nixpacks.toml
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user