openrefine-docker/3.0/Dockerfile

20 lines
431 B
Docker
Raw Normal View History

2019-08-05 18:34:27 +02:00
FROM openjdk:8-jre-alpine
2019-07-29 22:15:58 +02:00
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 3.0
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/3.0/openrefine-linux-3.0.tar.gz
WORKDIR /app
RUN set -xe \
&& apk add --no-cache bash curl jq 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"]