1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +02:00
dockerfiles/openrefine/Dockerfile
2019-08-07 19:20:00 +08:00

25 lines
539 B
Docker

#
# Dockerfile for openrefine
#
FROM openjdk:8-jre-alpine
MAINTAINER kev <noreply@easypi.pro>
ENV OPENREFINE_VERSION 3.2
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"]