Skip to content

Commit

Permalink
resources: Deploy documentation of dependencies and all our crates
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis Pohlmann committed May 22, 2018
1 parent dda4493 commit 7840e22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions resources/docker/thegraph-docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ RUN apt-get update \
# Install Python to serve the docs
RUN apt-get install python

# Copy, build, install and run thegraph-local-node
# Build all docs (dependencies and workspace crates)
COPY . .
RUN cd thegraph-local-node && cargo doc --no-deps -p thegraph
RUN cd thegraph-local-node && cargo doc

# Serve the docs over HTTP
WORKDIR target/doc/
CMD ["python", "-m", "SimpleHTTPServer", "8000"]

0 comments on commit 7840e22

Please sign in to comment.