Commit 56b1371
fix(docker): use pre-built frontend assets instead of rebuilding in container (#558)
The frontend-builder stage failed on Alpine because svelma could not
resolve bulma Sass imports. The CI pipeline already pre-builds the
frontend on ubuntu-22.04 and passes it as an artifact in the Docker
build context at desktop/dist/. Replace the Node.js Alpine build stage
with a scratch stage that copies pre-built assets directly.
This also prepares for the desktop being moved to a separate repository,
where in-container frontend builds would no longer be possible.
Fixes Docker 20.04 build failure in release workflow.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent e28c852 commit 56b1371
2 files changed
Lines changed: 8 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | 212 | | |
214 | 213 | | |
215 | 214 | | |
| |||
229 | 228 | | |
230 | 229 | | |
231 | 230 | | |
232 | | - | |
233 | 231 | | |
234 | 232 | | |
235 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
24 | 16 | | |
25 | 17 | | |
26 | 18 | | |
| |||
124 | 116 | | |
125 | 117 | | |
126 | 118 | | |
127 | | - | |
| 119 | + | |
128 | 120 | | |
129 | 121 | | |
130 | 122 | | |
| |||
0 commit comments