@@ -25,67 +25,67 @@ const runtimeNames = {
25
25
const systemTools = {
26
26
'node': {
27
27
isCompiled: false,
28
- startCommand: "node src /server.js ",
28
+ startCommand: "sh helpers /server.sh ",
29
29
dependencyFiles: [ "package.json", "package-lock.json" ]
30
30
},
31
31
'php': {
32
32
isCompiled: false,
33
- startCommand: "php src /server.php ",
33
+ startCommand: "sh helpers /server.sh ",
34
34
dependencyFiles: [ "composer.json", "composer.lock" ]
35
35
},
36
36
'ruby': {
37
37
isCompiled: false,
38
- startCommand: "bundle exec puma -b tcp://0.0.0.0:3000 -e production ",
38
+ startCommand: "sh helpers/server.sh ",
39
39
dependencyFiles: [ "Gemfile", "Gemfile.lock" ]
40
40
},
41
41
'python': {
42
42
isCompiled: false,
43
- startCommand: "python3 src /server.py ",
43
+ startCommand: "sh helpers /server.sh ",
44
44
dependencyFiles: [ "requirements.txt", "requirements.lock" ]
45
45
},
46
46
'python-ml': {
47
47
isCompiled: false,
48
- startCommand: "python3 src /server.py ",
48
+ startCommand: "sh helpers /server.sh ",
49
49
dependencyFiles: [ "requirements.txt", "requirements.lock" ]
50
50
},
51
51
'deno': {
52
52
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 ",
54
54
dependencyFiles: [ ]
55
55
},
56
56
'dart': {
57
57
isCompiled: true,
58
- startCommand: "src/function/ server",
58
+ startCommand: "sh helpers/ server.sh ",
59
59
dependencyFiles: [ ]
60
60
},
61
61
'dotnet': {
62
62
isCompiled: true,
63
- startCommand: "dotnet src/function/DotNetRuntime.dll ",
63
+ startCommand: "sh helpers/server.sh ",
64
64
dependencyFiles: [ ]
65
65
},
66
66
'java': {
67
67
isCompiled: true,
68
- startCommand: "java -jar src/function/java-runtime-1.0.0.jar ",
68
+ startCommand: "sh helpers/server.sh ",
69
69
dependencyFiles: [ ]
70
70
},
71
71
'swift': {
72
72
isCompiled: true,
73
- startCommand: "src/function/Runtime serve --env production --hostname 0.0.0.0 --port 3000 ",
73
+ startCommand: "sh helpers/server.sh ",
74
74
dependencyFiles: [ ]
75
75
},
76
76
'kotlin': {
77
77
isCompiled: true,
78
- startCommand: "java -jar src/function/kotlin-runtime-1.0.0.jar ",
78
+ startCommand: "sh helpers/server.sh ",
79
79
dependencyFiles: [ ]
80
80
},
81
81
'bun': {
82
82
isCompiled: false,
83
- startCommand: "bun src /server.ts ",
83
+ startCommand: "sh helpers /server.sh ",
84
84
dependencyFiles: [ "package.json", "package-lock.json", "bun.lockb" ]
85
85
},
86
86
'go': {
87
87
isCompiled: true,
88
- startCommand: "src/function/ server",
88
+ startCommand: "sh helpers/ server.sh ",
89
89
dependencyFiles: [ ]
90
90
},
91
91
};
0 commit comments