cache cargo artifacts

This commit is contained in:
Namekuji 2023-06-04 17:03:47 -04:00
parent 175cb184d3
commit bab6655424
2 changed files with 6 additions and 0 deletions

4
.gitignore vendored
View file

@ -62,3 +62,7 @@ yarn*
# Nix Development shell items
.devenv
.direnv
# Cargo cache for Docker
/.cargo-cache
/.cargo-target

View file

@ -17,6 +17,8 @@ services:
environment:
NODE_ENV: production
volumes:
- ./.cargo-cache:/root/.cargo
- ./.cargo-target:/calckey/packages/backend/native-utils/target
- ./files:/calckey/files
- ./.config:/calckey/.config:ro