Fix instructions on building a dev Docker image.

This commit is contained in:
Pan Long 2018-12-17 07:54:28 -08:00
parent 1372095c66
commit 1483593e65

View File

@ -134,11 +134,10 @@ cd freqtrade
docker build -t freqtrade .
```
If you are developing using Docker, use `Dockerfile.develop` instead, which will also set up develop dependencies:
If you are developing using Docker, use `Dockerfile.develop` to build a dev Docker image, which will also set up develop dependencies:
```bash
cd freqtrade
docker build -f ./Dockerfile.develop -t freqtrade .
docker build -f ./Dockerfile.develop -t freqtrade-dev .
```
For security reasons, your configuration file will not be included in the image, you will need to bind mount it. It is also advised to bind mount an SQLite database file (see the "5. Run a restartable docker image" section) to keep it between updates.