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 # 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