openrefine-docker/3.2-java12/Dockerfile

20 lines
431 B
Docker

FROM java:12-jre-alpine
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 3.2
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/3.2/openrefine-linux-3.2.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"]