cache cargo artifacts

This commit is contained in:
Namekuji 2023-06-04 17:03:47 -04:00
parent 9a9c3d4c62
commit 0151b256fc
No known key found for this signature in database
GPG Key ID: B541BD6E646CABC7
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