Skip to content

Commit

Permalink
allow building locally as well as with docker
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jyn514 committed Nov 4, 2019
1 parent 6314559 commit c9e1cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- "3000:3000"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- ".rustwide:/home/cratesfyi/rustwide"
- ".rustwide-docker:/home/cratesfyi/rustwide"
- "cratesio-index:/opt/docsrs/prefix/crates.io-index"
environment:
CRATESFYI_RUSTWIDE_WORKSPACE: /home/cratesfyi/rustwide
Expand Down

0 comments on commit c9e1cbb

Please sign in to comment.