mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
22 lines
446 B
Docker
22 lines
446 B
Docker
#
|
|
# Dockerfile for openrefine
|
|
#
|
|
|
|
FROM openjdk:17-bullseye
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
ENV OPENREFINE_VERSION=3.5.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 curl -sSL ${OPENREFINE_URL} | tar xz --strip 1
|
|
|
|
VOLUME /data
|
|
WORKDIR /data
|
|
|
|
EXPOSE 3333
|
|
|
|
ENTRYPOINT ["/app/refine"]
|