Skip to content

Commit ff9f147

Browse files
Update install_nichart_docker_linux.sh
1 parent 5fa3fe7 commit ff9f147

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

installers/install_nichart_docker_linux.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ APP_URL_DEFAULT="http://localhost:8501/"
7777
7878
CONTAINER_NAME="nichart_server"
7979
80-
RUN_ARGS=(--rm -d --name "${CONTAINER_NAME}")
80+
# Ensure path translation can be done transparently even if job/pipeline docker containers are spun up from inside the nichart_server container
81+
RUN_ARGS=(--rm -d --name "${CONTAINER_NAME}" -e NICHART_HOST_DATA_DIR="${DATA_DIR}")
8182
RUN_ARGS+=(--privileged -p 8501:8501 -v /usr/bin/docker:/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock)
8283
RUN_ARGS+=(-v "${DATA_DIR}:/app/output_folder:rw")
8384

0 commit comments

Comments
 (0)