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 # Nix Development shell items
.devenv .devenv
.direnv .direnv
# Cargo cache for Docker
/.cargo-cache
/.cargo-target

View file

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