Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
chen23 committed Jan 6, 2025
1 parent 1d4d82a commit 44fc4b6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions containthedocs-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

set -x

COMMAND="make -C docs html"

COMMAND=(/bin/bash -c "sudo pip install -r requirements.txt -U ; make -C docs clean html")

. ./containthedocs-image

exec sudo docker run --rm -it \
exec docker run --rm -t \
-v "$PWD":"$PWD" --workdir "$PWD" \
${DOCKER_RUN_ARGS} \
-e "LOCAL_USER_ID=$(id -u)" \
${DOC_IMG} ${COMMAND}
${DOC_IMG} "${COMMAND[@]}"

0 comments on commit 44fc4b6

Please sign in to comment.