diff --git a/scripts/manager.sh b/scripts/manager.sh index e331166..8035af5 100755 --- a/scripts/manager.sh +++ b/scripts/manager.sh @@ -59,6 +59,10 @@ build_docker_image() { export DOCKER_BUILDKIT=0 fi + echo + echo + echo + if docker build -t "$IMAGE_NAME" .; then echo "Docker image built successfully." return 0 @@ -248,7 +252,7 @@ get_run_command() { else RUN_COMMAND+=" --env API_HOST=0.0.0.0 --env API_PORT=${API_PORT:-8080} -p ${API_PORT:-8080}:8080" fi - RUN_COMMAND+=" $IMAGE_NAME" + RUN_COMMAND+=" -v files:/home/$USER/.db-middleware/files $IMAGE_NAME" echo $RUN_COMMAND }