Skip to content

Commit

Permalink
Dockerfile: CONTEXT_PATH and PROXY_CACHING should be ENV parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangmm committed Oct 10, 2024
1 parent f9cc65e commit 857ae5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ ARG HTTP_PORT=8080
ARG HTTPS_PORT=8443

ARG NER_ENDPOINT=http://localhost:8001
ARG CONTEXT_PATH=auto
ARG PROXY_CACHING=false
ENV CONTEXT_PATH=auto
ENV PROXY_CACHING=false

ENV JAVA_TOOL_OPTIONS \
-Dfile.encoding=UTF8 \
Expand All @@ -122,4 +122,4 @@ ENV JAVA_TOOL_OPTIONS \
# pre-populate the database by launching it once and change default pw
RUN [ "java", "org.exist.start.Main", "client", "--no-gui", "-l", "-u", "admin", "-P", "" ]

EXPOSE ${HTTP_PORT} ${HTTPS_PORT}
EXPOSE ${HTTP_PORT} ${HTTPS_PORT}

0 comments on commit 857ae5f

Please sign in to comment.