Initial commit
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal 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
|
Reference in New Issue
Block a user