22 lines
549 B
Markdown
22 lines
549 B
Markdown
|
# bicycle statistics
|
||
|
|
||
|
Observe `<infolder>` for `gpx` files and create a html statistics page based on it at `<outfolder>`.
|
||
|
|
||
|
## Build
|
||
|
|
||
|
```sh
|
||
|
docker build -t <image_name> .
|
||
|
```
|
||
|
|
||
|
## Run
|
||
|
|
||
|
```sh
|
||
|
docker run -d -v <infolder>:/bs_in -v <outfolder>:/bs_out --name <container_name> --restart always <image_name>
|
||
|
```
|
||
|
|
||
|
## Example
|
||
|
|
||
|
```sh
|
||
|
docker build -t bicycle_statistics_creator .
|
||
|
docker run -d -v /srv/nextcloud/data/tkl/files/Bicycle:/bs_in -v /srv/bicycle.blackfinn.de/data:/bs_out --name bicycle-statistics --restart always bicycle_statistics_creator
|
||
|
```
|