bobertoyin / bobertoyin.com

A digital space for being myself.
https://bobertoyin.com
MIT License
0 stars 0 forks source link

improve docker build times #62

Closed bobertoyin closed 1 month ago

bobertoyin commented 1 month ago

currently it takes +5 minutes to build an image.

consider using an existing cache solution to cache rust compile steps, along with caching docker layers to reduce the image size.

in the future, also consider adding a nix-based solution for dependencies so that it can run on bare metal.

bobertoyin commented 1 month ago

cargo-chef seems like a good option