Skip to content

Commit a6c25df

Browse files
committed
Can we bind mount?
1 parent 9476b62 commit a6c25df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ commands:
2020
- setup_remote_docker
2121
# - run: npm ci
2222
- run: docker build -t sphinx_rtd_theme:latest .
23-
- run: docker run --cidfile=.container_id --mount type=bind,source="$(pwd)/src",target=/project/src,readonly sphinx_rtd_theme:latest
23+
- run: docker run --cidfile=.container_id --mount type=bind,source="${CIRCLE_WORKING_DIRECTORY}/src",target=/project/src,readonly sphinx_rtd_theme:latest
2424
- run: docker cp "$(cat .container_id):/project/sphinx_rtd_theme" .
2525
- run: docker cp "$(cat .container_id):/project/package-lock.json" .
2626
- run:

0 commit comments

Comments
 (0)