Initial commit

This commit is contained in:
Thomas Nordquist
2017-07-19 12:54:37 +02:00
commit 1bf8b18af9
4 changed files with 95 additions and 0 deletions

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM openjdk:8-jre
# Install pbzip2 for parallel extraction
RUN apt-get update \
&& apt-get -y install \
pbzip2 \
wget \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /photon
ADD http://photon.komoot.de/data/photon-0.2.7.jar /photon/photon.jar
COPY entrypoint.sh ./entrypoint.sh
VOLUME /photon/photon_data
EXPOSE 2322
ENTRYPOINT /photon/entrypoint.sh