openrefine-docker/2.8-java9/Dockerfile

20 lines
446 B
Docker

FROM adoptopenjdk/openjdk9:alpine-slim
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 2.8
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/2.8/openrefine-linux-2.8.tar.gz
WORKDIR /app
RUN set -xe \
&& apk add --no-cache bash curl grep tar \
&& 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"]