Hello,
I’ve got the ORS API from a git clone (GitHub - GIScience/openrouteservice: 🌍 The open source route planner api with plenty of features.).
However i’m wishing to build an image where i use a custom osm-file (sweden-latest.osm.pbf). With this i’m seeking to push to my Azure container registry and then build an Azure container app with it.
Using docker push i’m able to push an image, but when running it it defaults to the following output:
2023-09-20T15:37:27.979832265Z 20 Sep 15:37:27 INFO [routing.RoutingProfileManager] - Total time: 21.355s.
2023-09-20T15:37:27.979906260Z 20 Sep 15:37:27 INFO [routing.RoutingProfileManager] - ========================================================================
2023-09-20T15:37:27.980363650Z 20 Sep 15:37:27 INFO [routing.RoutingProfileManager] - ====> Recycling garbage...
2023-09-20T15:37:27.980637618Z 20 Sep 15:37:27 INFO [routing.RoutingProfileManager] - Before: Total - 1024 MB, Free - 301.45 MB, Max: 2 GB, Used - 722.55 MB
2023-09-20T15:37:28.066759306Z 20 Sep 15:37:28 INFO [routing.RoutingProfileManager] - After: Total - 1024 MB, Free - 933.42 MB, Max: 2 GB, Used - 90.73 MB
2023-09-20T15:37:28.066834656Z 20 Sep 15:37:28 INFO [routing.RoutingProfileManager] - ========================================================================
2023-09-20T15:37:28.066872305Z 20 Sep 15:37:28 INFO [routing.RoutingProfileManager] - ====> Memory usage by profiles:
2023-09-20T15:37:28.066892343Z 20 Sep 15:37:28 INFO [routing.RoutingProfileManager] - [1] 23.04 MB (25.4%)
2023-09-20T15:37:28.066996496Z 20 Sep 15:37:28 INFO [routing.RoutingProfileManager] - Total: 23.04 MB (25.4%)
2023-09-20T15:37:28.067069903Z 20 Sep 15:37:28 INFO [routing.RoutingProfileManager] - ========================================================================
However, the osm file defined in the docker-compose.yml should result in around 537.04 MB.
This makes me believe that i have to build the image again, however with “docker compose up -d --build” i get the following error:
=> ERROR [ors-app publish 9/9] COPY --chown=ors:ors ././sweden-latest.osm.pbf /home/ors/tmp/osm_file.pbf 0.0s
Gladly accept any help