I went with a persistent build cache that stores the precompiled package images so that the dependencies don’t need to be recompiled every time. I followed this post.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Recommended recipe for deploying a Julia app in Docker with efficient precompilation? | 3 | 2478 | October 10, 2024 | |
| Sharing precompiled code across docker images | 5 | 1195 | August 30, 2024 | |
| Adding packages + pre-compilation vs. (docker pull) pre-built sysimage | 1 | 510 | September 15, 2021 | |
| Docker image build OOM | 1 | 99 | February 27, 2025 | |
| Proposed Julia Docker workflow to use a "persistent" depot | 11 | 1644 | August 27, 2024 |