Commit 558c735
authored
fix: ensure db-init-prod service builds correctly in Docker production (#48)
- Add db-init-prod to docker-build-prod.sh build targets to fix "wait-for-postgres.sh: not found" error
- Reduce memory limit from 20g to 10g to support builds on 16GB RAM systems
- Make generate-version.js resilient to Docker build environments by wrapping file writes in try/catch blocks
- This ensures db-init-prod service has access to wait-for-postgres.sh script during startup1 parent f03d602 commit 558c735
2 files changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
13 | 11 | | |
14 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
81 | | - | |
82 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
83 | 92 | | |
84 | | - | |
85 | 93 | | |
86 | 94 | | |
87 | 95 | | |
| |||
0 commit comments