openrefine-docker/2.7-java9/Dockerfile

20 lines
446 B
Docker
Raw Normal View History

2019-08-05 18:47:22 +02:00
FROM adoptopenjdk/openjdk9:alpine-slim
2019-08-05 01:36:46 +02:00
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 2.7
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/2.7/openrefine-linux-2.7.tar.gz
WORKDIR /app
RUN set -xe \
2019-08-05 18:40:11 +02:00
&& apk add --no-cache bash curl grep tar \
2019-08-05 01:36:46 +02:00
&& curl -sSL ${OR_URL} | tar xz --strip 1
VOLUME /data
WORKDIR /data
EXPOSE 3333
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]