lichess-org / lila-docker

Lichess local development using Docker Compose.
GNU Affero General Public License v3.0
44 stars 44 forks source link

Fix lila-docker when CARGO_TARGET_DIR is set #104

Closed kraktus closed 3 months ago

kraktus commented 3 months ago

CARGO_TARGET_DIR is used by users with many rust crates to save on compile time and rust target/ dir size, because it allow for a central shared cargo target directory, sharing builds of common dependencies across projects.

kraktus commented 3 months ago

I didn't test this without having the env set, hence the PR

fitztrev commented 3 months ago

Tested with the env set. Seems good. Thanks!