Skip to content

Commit

Permalink
run mdbook through a script so we can try and work out why it fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenj committed Jan 12, 2023
1 parent 6141d34 commit ec735ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ ENV RUST_LOG info
# used when serving
EXPOSE 3000

ENTRYPOINT [ "/bin/mdbook" ]
# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh

# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh -l
pwd
ls -al
echo /bin/mdbook $@
/bin/mdbook $@

0 comments on commit ec735ef

Please sign in to comment.