Commit ac2cfbf
authored
Merge pull request #50 from fly-apps/upgrade_laravel_zero_move_chown_to_build_time
Update generated Dockerfile and entrypoint.sh to decrease deploy time:
Main Change related to title:
1. Update Dockerfile and entrypoint.sh generated to move last chown into build time and not run time, this significantly slows down deploys
- throttling is happening before supervisor even starts, due to chowning 6500+ files after running scripts in the entrypoint
Other changes made:
1. Upgrade to Laravel Zero 11, for PHP8.4.1
- hHad to upgrade LZ to be able to build the changes
2. Update Dockerfile to use build script if vite.config.ts is detected
- A project can come with vite.config.ts
3. Update Readme to mention upgrading the framework as a solution to failing builds, and using the options in handling new changes affecting test cases14 files changed
Lines changed: 1710 additions & 993 deletions
File tree
- builds
- resources/views
- fly
- tests/Feature/Supported
- 10_base
- 10_octane_frankenphp
- 10_octane_rr
- 10_octane_swoole
- 11_base
- 11_octane_frankenphp
- 11_octane_rr
- 11_octane_swoole
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
114 | 124 | | |
115 | 125 | | |
116 | 126 | | |
| |||
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
128 | 144 | | |
129 | 145 | | |
130 | 146 | | |
| |||
143 | 159 | | |
144 | 160 | | |
145 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
146 | 166 | | |
147 | 167 | | |
148 | 168 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments