tangled
alpha
login
or
join now
openstatus.dev
/
openstatus
6
fork
atom
Openstatus
www.openstatus.dev
6
fork
atom
overview
issues
pulls
pipelines
๐ fix fly build
thibault.tngl.sh
1 year ago
ed32f3e3
9a1d7152
+30
-25
3 changed files
expand all
collapse all
unified
split
apps
server
Dockerfile
dofigen.lock
dofigen.yml
+3
-2
apps/server/Dockerfile
···
3
3
# See https://github.com/lenra-io/dofigen
4
4
5
5
# install
6
6
-
FROM oven/bun@sha256:9a45ebd9a1e5403177064592e1564791443b1a459356c905d1112e32758dd454 AS install
6
6
+
FROM oven/bun@sha256:10cda3ac52b7ddfb3dda2fd1f0ed2147dcb8d5b7ed7baeffbfcaf6e15c1c00df AS install
7
7
WORKDIR /app/
8
8
RUN \
9
9
--mount=type=bind,target=package.json,source=package.json \
···
14
14
--mount=type=bind,target=packages/error/package.json,source=packages/error/package.json \
15
15
--mount=type=bind,target=packages/notifications/discord/package.json,source=packages/notifications/discord/package.json \
16
16
--mount=type=bind,target=packages/notifications/email/package.json,source=packages/notifications/email/package.json \
17
17
+
--mount=type=bind,target=packages/notifications/opsgenie/package.json,source=packages/notifications/opsgenie/package.json \
17
18
--mount=type=bind,target=packages/notifications/pagerduty/package.json,source=packages/notifications/pagerduty/package.json \
18
19
--mount=type=bind,target=packages/notifications/slack/package.json,source=packages/notifications/slack/package.json \
19
20
--mount=type=bind,target=packages/notifications/twillio-sms/package.json,source=packages/notifications/twillio-sms/package.json \
···
27
28
bun install --production --ignore-scripts --frozen-lockfile --verbose
28
29
29
30
# build
30
30
-
FROM oven/bun@sha256:9a45ebd9a1e5403177064592e1564791443b1a459356c905d1112e32758dd454 AS build
31
31
+
FROM oven/bun@sha256:10cda3ac52b7ddfb3dda2fd1f0ed2147dcb8d5b7ed7baeffbfcaf6e15c1c00df AS build
31
32
ENV NODE_ENV="production"
32
33
WORKDIR /app/apps/server
33
34
COPY \
+26
-23
apps/server/dofigen.lock
···
7
7
- /packages/api
8
8
- /packages/integrations/vercel
9
9
builders:
10
10
+
build:
11
11
+
fromImage:
12
12
+
path: oven/bun
13
13
+
digest: sha256:10cda3ac52b7ddfb3dda2fd1f0ed2147dcb8d5b7ed7baeffbfcaf6e15c1c00df
14
14
+
workdir: /app/apps/server
15
15
+
env:
16
16
+
NODE_ENV: production
17
17
+
copy:
18
18
+
- paths:
19
19
+
- .
20
20
+
target: /app/
21
21
+
- fromBuilder: install
22
22
+
paths:
23
23
+
- /app/node_modules
24
24
+
target: /app/node_modules
25
25
+
run:
26
26
+
- bun build --compile --sourcemap src/index.ts --outfile=app
10
27
install:
11
28
fromImage:
12
29
path: oven/bun
13
13
-
digest: sha256:9a45ebd9a1e5403177064592e1564791443b1a459356c905d1112e32758dd454
30
30
+
digest: sha256:10cda3ac52b7ddfb3dda2fd1f0ed2147dcb8d5b7ed7baeffbfcaf6e15c1c00df
14
31
workdir: /app/
15
32
run:
16
33
- bun install --production --ignore-scripts --frozen-lockfile --verbose
···
33
50
source: packages/notifications/discord/package.json
34
51
- target: packages/notifications/email/package.json
35
52
source: packages/notifications/email/package.json
53
53
+
- target: packages/notifications/opsgenie/package.json
54
54
+
source: packages/notifications/opsgenie/package.json
36
55
- target: packages/notifications/pagerduty/package.json
37
56
source: packages/notifications/pagerduty/package.json
38
57
- target: packages/notifications/slack/package.json
···
51
70
source: packages/tsconfig/package.json
52
71
- target: packages/assertions/package.json
53
72
source: packages/assertions/package.json
54
54
-
build:
55
55
-
fromImage:
56
56
-
path: oven/bun
57
57
-
digest: sha256:9a45ebd9a1e5403177064592e1564791443b1a459356c905d1112e32758dd454
58
58
-
workdir: /app/apps/server
59
59
-
env:
60
60
-
NODE_ENV: production
61
61
-
copy:
62
62
-
- paths:
63
63
-
- .
64
64
-
target: /app/
65
65
-
- fromBuilder: install
66
66
-
paths:
67
67
-
- /app/node_modules
68
68
-
target: /app/node_modules
69
69
-
run:
70
70
-
- bun build --compile --sourcemap src/index.ts --outfile=app
71
73
fromImage:
72
74
path: debian
73
75
digest: sha256:b0c91cc181796d34c53f7ea106fbcddaf87f3e601cc371af6a24a019a489c980
···
83
85
- port: 3000
84
86
images:
85
87
registry.hub.docker.com:443:
88
88
+
oven:
89
89
+
bun:
90
90
+
latest:
91
91
+
digest: sha256:10cda3ac52b7ddfb3dda2fd1f0ed2147dcb8d5b7ed7baeffbfcaf6e15c1c00df
86
92
library:
87
93
debian:
88
94
bullseye-slim:
89
95
digest: sha256:b0c91cc181796d34c53f7ea106fbcddaf87f3e601cc371af6a24a019a489c980
90
90
-
oven:
91
91
-
bun:
92
92
-
latest:
93
93
-
digest: sha256:9a45ebd9a1e5403177064592e1564791443b1a459356c905d1112e32758dd454
94
96
resources:
95
97
dofigen.yml:
96
96
-
hash: 06641706a075437d0d038b10609949fde32ab3340f6eb081add0b1e0a1889d8b
98
98
+
hash: 4983836e4e9309e7c36e9d8b42696abad4223effb74f65efdc47e8f651e323a6
97
99
content: |
98
100
ignore:
99
101
- node_modules
···
116
118
- packages/error/package.json
117
119
- packages/notifications/discord/package.json
118
120
- packages/notifications/email/package.json
121
121
+
- packages/notifications/opsgenie/package.json
119
122
- packages/notifications/pagerduty/package.json
120
123
- packages/notifications/slack/package.json
121
124
- packages/notifications/twillio-sms/package.json
+1
apps/server/dofigen.yml
···
19
19
- packages/error/package.json
20
20
- packages/notifications/discord/package.json
21
21
- packages/notifications/email/package.json
22
22
+
- packages/notifications/opsgenie/package.json
22
23
- packages/notifications/pagerduty/package.json
23
24
- packages/notifications/slack/package.json
24
25
- packages/notifications/twillio-sms/package.json