Skip to content

Commit d3c7616

Browse files
committed
Fix mount paths for Linux Docker client
1 parent 6fc41ac commit d3c7616

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docker/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
# note: this provides the Docker socket to the image and is NOT intended as a security container
33
if [ ! -f ".env" ]; then
44
touch ".env"
55
fi
66
docker run -i \
77
--platform linux/amd64 \
88
--volume /var/run/docker.sock:/var/run/docker.sock \
9-
--volume ./logs:/app/logs \
10-
--mount type=bind,src=.env,dst=/app/.env,ro \
9+
--volume "$PWD/"logs:/app/logs \
10+
--mount type=bind,src="$PWD/".env,dst=/app/.env,ro \
1111
${MY_DATA:+--mount type=bind,src=$MY_DATA,dst=/app/my_data} \
1212
${MY_TASKFLOWS:+--mount type=bind,src=$MY_TASKFLOWS,dst=/app/taskflows/my_taskflows,ro} \
1313
${MY_TOOLBOXES:+--mount type=bind,src=$MY_TOOLBOXES,dst=/app/toolboxes/my_toolboxes,ro} \

0 commit comments

Comments
 (0)