1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/openrefine/Dockerfile
2017-05-08 07:05:07 +08:00

25 lines
488 B
Docker

#
# Dockerfile for openrefine
#
FROM java:8-jre-alpine
MAINTAINER kev <noreply@easypi.pro>
ENV OR_VERSION 2.7-rc.2
ENV OR_FILE openrefine-linux-${OR_VERSION}.tar.gz
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/${OR_VERSION}/${OR_FILE}
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"]