Skip to content

Commit 1e02d10

Browse files
committed
add bun
1 parent d8a06f8 commit 1e02d10

3 files changed

Lines changed: 118 additions & 43 deletions

File tree

templates.json

Lines changed: 107 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,109 @@
11
[
2-
{"name":"Deno app",
3-
"installs":[
4-
{"name":"Deno app alpine OS","path":"../templates/dockerfiles/Deno_app_alpine.dockerfile"},
5-
{"name":"Deno app binary only","path":"../templates/dockerfiles/Deno_app_bin.dockerfile"}
6-
]
7-
},
8-
{"name":"Nodejs app",
9-
"installs":[
10-
{"name":"Nodejs app with npm","path":"../templates/dockerfiles/Nodejs_app.dockerfile","ignoreFilePath":"../templates/ignorefiles/Nodejs_app"},
11-
{"name":"Nodejs app with yarn","path":"../templates/dockerfiles/Nodejs_app_yarn.dockerfile","ignoreFilePath":"../templates/ignorefiles/Nodejs_app"}
12-
]
13-
},
14-
{"name":"Reactjs app",
15-
"installs":[
16-
{"name":"Reactjs app with npm","path":"../templates/dockerfiles/Reactjs_app.dockerfile","ignoreFilePath":"../templates/ignorefiles/Reactjs_app"},
17-
{"name":"Reactjs app with yarn","path":"../templates/dockerfiles/Reactjs_app_yarn.dockerfile","ignoreFilePath":"../templates/ignorefiles/Reactjs_app"}
18-
]
19-
},
20-
{"name":"Vuejs app",
21-
"installs":[
22-
{"name":"Vuejs app with npm","path":"../templates/dockerfiles/Vuejs_app.dockerfile","ignoreFilePath":"../templates/ignorefiles/Vuejs_app"},
23-
{"name":"Vuejs app with yarn","path":"../templates/dockerfiles/Vuejs_app_yarn.dockerfile","ignoreFilePath":"../templates/ignorefiles/Vuejs_app"}
2+
{
3+
"name": "Deno app",
4+
"installs": [
5+
{
6+
"name": "Deno app alpine OS",
7+
"path": "../templates/dockerfiles/Deno_app_alpine.dockerfile"
8+
},
9+
{
10+
"name": "Deno app binary only",
11+
"path": "../templates/dockerfiles/Deno_app_bin.dockerfile"
12+
}
13+
]
14+
},
15+
{
16+
"name": "Nodejs app",
17+
"installs": [
18+
{
19+
"name": "Nodejs app with npm",
20+
"path": "../templates/dockerfiles/Nodejs_app.dockerfile",
21+
"ignoreFilePath": "../templates/ignorefiles/Nodejs_app"
22+
},
23+
{
24+
"name": "Nodejs app with yarn",
25+
"path": "../templates/dockerfiles/Nodejs_app_yarn.dockerfile",
26+
"ignoreFilePath": "../templates/ignorefiles/Nodejs_app"
27+
}
28+
]
29+
},
30+
{
31+
"name": "Bun app",
32+
"installs": [
33+
{
34+
"name": "Bun app with bun package manager",
35+
"path": "../templates/dockerfiles/Bun_app.dockerfile",
36+
"ignoreFilePath": "../templates/ignorefiles/Bun_app"
37+
}
38+
]
39+
},
40+
{
41+
"name": "Reactjs app",
42+
"installs": [
43+
{
44+
"name": "Reactjs app with npm",
45+
"path": "../templates/dockerfiles/Reactjs_app.dockerfile",
46+
"ignoreFilePath": "../templates/ignorefiles/Reactjs_app"
47+
},
48+
{
49+
"name": "Reactjs app with yarn",
50+
"path": "../templates/dockerfiles/Reactjs_app_yarn.dockerfile",
51+
"ignoreFilePath": "../templates/ignorefiles/Reactjs_app"
52+
}
53+
]
54+
},
55+
{
56+
"name": "Vuejs app",
57+
"installs": [
58+
{
59+
"name": "Vuejs app with npm",
60+
"path": "../templates/dockerfiles/Vuejs_app.dockerfile",
61+
"ignoreFilePath": "../templates/ignorefiles/Vuejs_app"
62+
},
63+
{
64+
"name": "Vuejs app with yarn",
65+
"path": "../templates/dockerfiles/Vuejs_app_yarn.dockerfile",
66+
"ignoreFilePath": "../templates/ignorefiles/Vuejs_app"
67+
}
68+
]
69+
},
70+
{
71+
"name": "Angular app",
72+
"installs": [
73+
{
74+
"name": "Angular app with npm",
75+
"path": "../templates/dockerfiles/Angular_app.dockerfile",
76+
"ignoreFilePath": "../templates/ignorefiles/Angular_app"
77+
},
78+
{
79+
"name": "Angular app with yarn",
80+
"path": "../templates/dockerfiles/Angular_app_yarn.dockerfile",
81+
"ignoreFilePath": "../templates/ignorefiles/Angular_app"
82+
}
83+
]
84+
},
85+
{
86+
"name": "Rust app",
87+
"installs": [
88+
{
89+
"name": "Rust app with cargo",
90+
"path": "../templates/dockerfiles/Rust_app_cargo.dockerfile",
91+
"ignoreFilePath": "../templates/ignorefiles/Rust_app_cargo"
92+
},
93+
{
94+
"name": "Rust app with rustc",
95+
"path": "../templates/dockerfiles/Rust_app_rustc.dockerfile"
96+
}
97+
]
98+
},
99+
{
100+
"name": "Go app",
101+
"installs": [
102+
{
103+
"name": "Go app ",
104+
"path": "../templates/dockerfiles/Go_app.dockerfile"
105+
}
106+
]
107+
}
108+
]
24109

25-
]
26-
},
27-
{"name":"Angular app",
28-
"installs":[
29-
{"name":"Angular app with npm","path":"../templates/dockerfiles/Angular_app.dockerfile","ignoreFilePath":"../templates/ignorefiles/Angular_app"},
30-
{"name":"Angular app with yarn","path":"../templates/dockerfiles/Angular_app_yarn.dockerfile","ignoreFilePath":"../templates/ignorefiles/Angular_app"}
31-
]
32-
},
33-
{"name":"Rust app",
34-
"installs":[
35-
{"name":"Rust app with cargo","path":"../templates/dockerfiles/Rust_app_cargo.dockerfile","ignoreFilePath":"../templates/ignorefiles/Rust_app_cargo"},
36-
{"name":"Rust app with rustc","path":"../templates/dockerfiles/Rust_app_rustc.dockerfile"}
37-
38-
]
39-
},
40-
{"name":"Go app",
41-
"installs":[
42-
{"name":"Go app ","path":"../templates/dockerfiles/Go_app.dockerfile"}
43-
]
44-
}
45-
]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM oven/bun
2+
WORKDIR /usr/src/app
3+
COPY . .
4+
RUN bun i
5+
EXPOSE 3000
6+
CMD [ "bun", "start" ]

templates/ignorefiles/Bun_app

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/node_modules
2+
.gitignore
3+
.gitattributes
4+
LICENSE
5+
README.md

0 commit comments

Comments
 (0)