Skip to content

Commit 2101185

Browse files
committed
Use proper path to download/install readthedocs-ext
Using the same path as the one it's mounted later allows us to change the code and re-load the app with the changes.
1 parent ab234ea commit 2101185

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dockerfiles/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ RUN curl -O https://raw.githubusercontent.com/readthedocs/readthedocs.org/master
4141
RUN pip3 install --no-cache-dir -r docker.txt
4242

4343
# Install readthedocs-ext only if GITHUB_TOKEN is provided
44+
WORKDIR /usr/src/app/checkouts/
4445
RUN if [ -n "$GITHUB_TOKEN" ] ; \
4546
then \
4647
git clone --depth 1 https://${GITHUB_TOKEN}@github.com/readthedocs/readthedocs-ext ; \

0 commit comments

Comments
 (0)