Update the docker instructions to copy the db out

merge-requests/54/head
David Corne 2020-07-16 13:16:45 +01:00
parent bd18460d60
commit 5d3147df71
1 changed files with 5 additions and 3 deletions

View File

@ -38,12 +38,14 @@ may be preferable.
First you will need docker, you can set that up from [here](https://www.docker.com/get-started).
The included Dockerfile is set up so that it will install the correct
dependencies and run the database generation script. Everyone's workflow will
differ, but this will get you a generated database:
dependencies and run the database generation script. This will get you a
generated database, and copy it into your working directory:
```
docker build -t pathfinder-2-sqlite -f .\Dockerfile .
docker run -t pathfinder-2-sqlite
docker run --name pathfinder-2-sqlite-container -t pathfinder-2-sqlite
docker cp pathfinder-2-sqlite-container:/project/tmp.db .
docker container rm pathfinder-2-sqlite-container
```
### Manual Setup