diff --git a/README.md b/README.md index 329912b..15f1fe9 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ In the top directory, run `pytest amarillo/tests`. ## Docker -Based on [tiangolo/uvicorn-gunicorn:python3.9-slim](https://github.com/tiangolo/uvicorn-gunicorn-docker) +Based on [tiangolo/uvicorn-gunicorn:python3.10-slim](https://github.com/tiangolo/uvicorn-gunicorn-docker) - build `docker build -t amarillo --build-arg="PLUGINS=amarillo-metrics" .` - run `docker run --rm --name amarillo -p 8000:80 -e MAX_WORKERS="1" -e ADMIN_TOKEN=$ADMIN_TOKEN -e RIDE2GO_TOKEN=$RIDE2GO_TOKEN -e TZ=Europe/Berlin -v $(pwd)/data:/app/data amarillo` diff --git a/requirements.txt b/requirements.txt index 006e29e..292a8f4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +amarillo-metrics==0.0.6 fastapi[all]==0.109.0 geopandas==0.14 uvicorn[standard]==0.23.2 @@ -13,4 +14,4 @@ Shapely==2.0.2 pygeos==0.14 pyproj==3.6.1 geojson-pydantic==1.0.1 -watchdog==3.0.0 +watchdog==3.0.0 \ No newline at end of file