1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00

update openrefine

This commit is contained in:
kevin 2022-07-23 21:48:21 +08:00
parent 480d991793
commit c1c0514c27
2 changed files with 11 additions and 6 deletions

View File

@ -8,13 +8,17 @@ MAINTAINER EasyPi Software Foundation
ARG OPENREFINE_VERSION=3.6.0
ARG OPENREFINE_URL=https://oss.sonatype.org/service/local/artifact/maven/content?r=releases&g=org.openrefine&a=openrefine&v=${OPENREFINE_VERSION}&c=linux&p=tar.gz
WORKDIR /app
RUN mkdir -p /app && cd /app \
&& curl -sSL "${OPENREFINE_URL}" | tar xz --strip 1
RUN curl -sSL "${OPENREFINE_URL}" | tar xz --strip 1
ENV REFINE_INTERFACE=0.0.0.0
ENV REFINE_PORT=3333
ENV REFINE_DATA_DIR=/data
ENV REFINE_MIN_MEMORY=256M
ENV REFINE_MEMORY=1024M
VOLUME /data
WORKDIR /data
EXPOSE 3333
VOLUME $REFINE_DATA_DIR
WORKDIR $REFINE_DATA_DIR
EXPOSE $REFINE_PORT
ENTRYPOINT ["/app/refine"]

View File

@ -9,6 +9,7 @@ services:
environment:
- REFINE_INTERFACE=0.0.0.0
- REFINE_PORT=3333
- REFINE_MIN_MEMORY=1024M
- REFINE_MEMORY=1024M
- REFINE_DATA_DIR=/data
restart: unless-stopped