Commit d8e902a
committed
Fix Docker build process and YAML syntax
- Fix YAML syntax error in buildspec.yml (multi-line string causing build failure)
- Remove complex runtime Dockerfile generation from buildspec
- Use proper multi-stage Docker build with Prisma generation
- Update Dockerfile to copy Prisma client from custom location (src/generated/client)
- Follow Docker best practices: generate Prisma client during Docker build, not in buildspec
This ensures:
- Clean YAML without syntax errors
- Proper separation of concerns (buildspec handles build, Docker handles packaging)
- Prisma client generated consistently in Docker environment
- No manual file copying between build phases1 parent 4182641 commit d8e902a
2 files changed
+4
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 69 | + | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 53 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 54 | + | |
| 55 | + | |
92 | 56 | | |
93 | 57 | | |
94 | 58 | | |
| |||
0 commit comments