mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 17:56:53 +02:00
update openrefine
This commit is contained in:
parent
480d991793
commit
c1c0514c27
@ -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"]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user