Skip to content

Instantly share code, notes, and snippets.

@mhicauber mhicauber/Dockerfile
Created Dec 12, 2018

Embed
What would you like to do?
OSRM Prebuilt Dockerfile
FROM osrm/osrm-backend:v5.20.0
RUN apk --no-cache add curl
RUN mkdir /data
RUN curl http://download.geofabrik.de/europe/bretagne-latest.osm.pbf > /data/bretagne-latest.osm.pbf
RUN osrm-extract -p /opt/car.lua /data/bretagne-latest.osm.pbf
RUN osrm-contract /data/bretagne-latest.osrm
RUN echo "osrm-routed /data/bretagne-latest.osrm --max-table-size 8000" > /runserver.sh
RUN chmod +x /runserver.sh
ENTRYPOINT /runserver.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.