openrefine-docker/3.4/Dockerfile

20 lines
433 B
Docker
Raw Normal View History

2020-09-07 15:40:26 +02:00
FROM openjdk:8-jre-alpine
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
2021-01-04 13:54:21 +01:00
# OpenRefine 3.4
2020-09-07 15:40:26 +02:00
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/3.4/openrefine-linux-3.4.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"]