1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/openrefine/Dockerfile
2020-09-29 16:27:45 +08:00

25 lines
543 B
Docker

#
# Dockerfile for openrefine
#
FROM openjdk:8-jre-alpine
MAINTAINER EasyPi Software Foundation
ENV OPENREFINE_VERSION 3.4.1
ENV OPENREFINE_FILE openrefine-linux-${OPENREFINE_VERSION}.tar.gz
ENV OPENREFINE_URL https://github.com/OpenRefine/OpenRefine/releases/download/${OPENREFINE_VERSION}/${OPENREFINE_FILE}
WORKDIR /app
RUN set -xe \
&& apk add --no-cache bash curl tar \
&& curl -sSL ${OPENREFINE_URL} | tar xz --strip 1
VOLUME /data
WORKDIR /data
EXPOSE 3333
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]