stewmcc / docker-docfx Goto Github PK
View Code? Open in Web Editor NEWDocker image for DocFX https://hub.docker.com/r/erothejoker/docker-docfx
License: MIT License
Docker image for DocFX https://hub.docker.com/r/erothejoker/docker-docfx
License: MIT License
I am trying to run
docker run --rm -it stewmcc/docker-docfx:latest docfx build inside my project folder that contains a docfx.json file but I get the following errors
λ docker run -it stewmcc/docker-docfx:latest docfx build
[19-03-07 04:19:12.784]Error:Either provide config file or specify content files to start building documentation.
am I right in thinking I need to copy my files into the docker image? or should it have access to my local file system to read the files it needs?
Hi,
maybe it is a good feature to have a file to build the latest version. For example to publish an image with the tag "latest".
I figured out that the uri https://github.com/dotnet/docfx/releases/latest/download/docfx.zip points to the latest release of docfx.zip.
This will always create an image with the latest version of docfx:
&& wget -q -P /tmp https://github.com/dotnet/docfx/releases/latest/download/docfx.zip \
&& mkdir -p /opt/docfx \
&& unzip /tmp/docfx.zip -d /opt/docfx \
&& echo '#!/bin/bash\nmono /opt/docfx/docfx.exe $@' > /usr/bin/docfx \
&& chmod +x /usr/bin/docfx \
&& rm -r -f /tmp/*
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.