Skip to content

Commit c9e1cbb

Browse files
committed
allow building locally as well as with docker
If docker uses the .rustwide directory, it will only be readable and writable by root. This uses a different scratch directory so that the .rustwide directory can be used for local builds.
1 parent 6314559 commit c9e1cbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
- "3000:3000"
99
volumes:
1010
- "/var/run/docker.sock:/var/run/docker.sock"
11-
- ".rustwide:/home/cratesfyi/rustwide"
11+
- ".rustwide-docker:/home/cratesfyi/rustwide"
1212
- "cratesio-index:/opt/docsrs/prefix/crates.io-index"
1313
environment:
1414
CRATESFYI_RUSTWIDE_WORKSPACE: /home/cratesfyi/rustwide

0 commit comments

Comments
 (0)