mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
25 lines
544 B
Docker
25 lines
544 B
Docker
#
|
|
# Dockerfile for openrefine
|
|
#
|
|
|
|
FROM openjdk:8-jre-alpine
|
|
MAINTAINER kev <noreply@easypi.pro>
|
|
|
|
ENV OPENREFINE_VERSION 3.4-beta
|
|
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"]
|