Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/text_processing_deployment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Dockerfile for C++ (inverse) text normalization backend Sparrowhawk https://github.com/google/sparrowhawk

# set base image (host OS)
FROM continuumio/miniconda3
FROM continuumio/miniconda3:25.3.1-1


# set the working directory in the container
Expand Down
8 changes: 7 additions & 1 deletion tools/text_processing_deployment/docker/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ elif [[ $MODE == "test_itn_grammars" ]]; then
fi

echo $MOUNTS
docker run -it -e LANG=C.UTF-8 -e LC_ALL=C.UTF-8 --rm \
# Use -it for interactive mode, -i only for test mode
if [[ $MODE == "interactive" ]]; then
DOCKER_FLAGS="-it"
else
DOCKER_FLAGS="-i"
fi
docker run $DOCKER_FLAGS -e LANG=C.UTF-8 -e LC_ALL=C.UTF-8 --rm \
--shm-size=4g \
--ulimit memlock=-1 \
--ulimit stack=67108864 \
Expand Down
Loading