2016-06-05 17:17:34 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for openrefine
|
|
|
|
#
|
|
|
|
|
2021-11-08 04:43:49 +02:00
|
|
|
FROM openjdk:11
|
2020-09-07 09:39:17 +02:00
|
|
|
MAINTAINER EasyPi Software Foundation
|
2016-06-05 17:17:34 +02:00
|
|
|
|
2021-12-20 11:28:34 +02:00
|
|
|
ENV OPENREFINE_VERSION=3.5.1
|
2021-11-08 04:43:49 +02:00
|
|
|
ENV OPENREFINE_FILE=openrefine-linux-${OPENREFINE_VERSION}.tar.gz
|
|
|
|
ENV OPENREFINE_URL=https://github.com/OpenRefine/OpenRefine/releases/download/${OPENREFINE_VERSION}/${OPENREFINE_FILE}
|
2016-06-05 17:17:34 +02:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
2021-11-08 04:43:49 +02:00
|
|
|
RUN curl -sSL ${OPENREFINE_URL} | tar xz --strip 1
|
2016-06-05 17:17:34 +02:00
|
|
|
|
2016-07-06 11:04:44 +02:00
|
|
|
VOLUME /data
|
|
|
|
WORKDIR /data
|
2016-06-05 17:17:34 +02:00
|
|
|
|
|
|
|
EXPOSE 3333
|
|
|
|
|
2016-07-06 11:04:44 +02:00
|
|
|
ENTRYPOINT ["/app/refine"]
|
|
|
|
CMD ["-i", "0.0.0.0", "-d", "/data"]
|