Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (17 sloc) 552 Bytes
FROM openjdk:8u121-jre-alpine
MAINTAINER Reittiopas version: 0.1
RUN apk add --update curl bash ttf-dejavu && \
rm -rf /var/cache/apk/*
VOLUME /opt/opentripplanner/graphs
ENV OTP_ROOT="/opt/opentripplanner"
ENV ROUTER_DATA_CONTAINER_URL="https://api.digitransit.fi/routing-data/v2/finland"
WORKDIR ${OTP_ROOT}
ADD run.sh ${OTP_ROOT}/run.sh
ADD target/*-shaded.jar ${OTP_ROOT}/otp-shaded.jar
ENV PORT=8080
EXPOSE ${PORT}
ENV SECURE_PORT=8081
EXPOSE ${SECURE_PORT}
ENV ROUTER_NAME=finland
ENV JAVA_OPTS="-Xms8G -Xmx8G"
ENTRYPOINT exec ./run.sh
You can’t perform that action at this time.