Permalink
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (11 sloc) 451 Bytes
FROM openjdk:8-jdk
ENV JAVA_OPTS "-server -Xconcurrentio -Xmx1g -Xms1g -XX:+UseG1GC -XX:MetaspaceSize=100M -Ddw.server.applicationConnectors[0].bindHost=0.0.0.0 -Ddw.server.applicationConnectors[0].port=8989"
RUN mkdir -p /data && \
mkdir -p /graphhopper
COPY . /graphhopper/
WORKDIR /graphhopper
RUN ./graphhopper.sh build
VOLUME [ "/data" ]
EXPOSE 8989
ENTRYPOINT [ "./graphhopper.sh", "web" ]
CMD [ "/data/europe_germany_berlin.pbf" ]