@@ -25,67 +25,67 @@ const runtimeNames = {
2525const systemTools = {
2626 'node': {
2727 isCompiled: false,
28- startCommand: "node src /server.js ",
28+ startCommand: "sh helpers /server.sh ",
2929 dependencyFiles: [ "package.json", "package-lock.json" ]
3030 },
3131 'php': {
3232 isCompiled: false,
33- startCommand: "php src /server.php ",
33+ startCommand: "sh helpers /server.sh ",
3434 dependencyFiles: [ "composer.json", "composer.lock" ]
3535 },
3636 'ruby': {
3737 isCompiled: false,
38- startCommand: "bundle exec puma -b tcp://0.0.0.0:3000 -e production ",
38+ startCommand: "sh helpers/server.sh ",
3939 dependencyFiles: [ "Gemfile", "Gemfile.lock" ]
4040 },
4141 'python': {
4242 isCompiled: false,
43- startCommand: "python3 src /server.py ",
43+ startCommand: "sh helpers /server.sh ",
4444 dependencyFiles: [ "requirements.txt", "requirements.lock" ]
4545 },
4646 'python-ml': {
4747 isCompiled: false,
48- startCommand: "python3 src /server.py ",
48+ startCommand: "sh helpers /server.sh ",
4949 dependencyFiles: [ "requirements.txt", "requirements.lock" ]
5050 },
5151 'deno': {
5252 isCompiled: false,
53- startCommand: "deno run --allow-run --allow-net --allow-write --allow-read --allow-env src /server.ts ",
53+ startCommand: "sh helpers /server.sh ",
5454 dependencyFiles: [ ]
5555 },
5656 'dart': {
5757 isCompiled: true,
58- startCommand: "src/function/ server",
58+ startCommand: "sh helpers/ server.sh ",
5959 dependencyFiles: [ ]
6060 },
6161 'dotnet': {
6262 isCompiled: true,
63- startCommand: "dotnet src/function/DotNetRuntime.dll ",
63+ startCommand: "sh helpers/server.sh ",
6464 dependencyFiles: [ ]
6565 },
6666 'java': {
6767 isCompiled: true,
68- startCommand: "java -jar src/function/java-runtime-1.0.0.jar ",
68+ startCommand: "sh helpers/server.sh ",
6969 dependencyFiles: [ ]
7070 },
7171 'swift': {
7272 isCompiled: true,
73- startCommand: "src/function/Runtime serve --env production --hostname 0.0.0.0 --port 3000 ",
73+ startCommand: "sh helpers/server.sh ",
7474 dependencyFiles: [ ]
7575 },
7676 'kotlin': {
7777 isCompiled: true,
78- startCommand: "java -jar src/function/kotlin-runtime-1.0.0.jar ",
78+ startCommand: "sh helpers/server.sh ",
7979 dependencyFiles: [ ]
8080 },
8181 'bun': {
8282 isCompiled: false,
83- startCommand: "bun src /server.ts ",
83+ startCommand: "sh helpers /server.sh ",
8484 dependencyFiles: [ "package.json", "package-lock.json", "bun.lockb" ]
8585 },
8686 'go': {
8787 isCompiled: true,
88- startCommand: "src/function/ server",
88+ startCommand: "sh helpers/ server.sh ",
8989 dependencyFiles: [ ]
9090 },
9191};
0 commit comments