This image is mainly used to run Slate API documentation
846
To run a container instance of Slate
* place the source code from https://github.com/lord/slate into a directory and point the volumn there
git clone https://github.com/lord/slate.git
mv -Rf slate /srv/slate
* make sure the file run.sh is available in the current directory
------------- run.sh ------------------
#!/bin/ash
cd /srv/slate
bundle install
bundle exec middleman server --port 80 --watcher-force-polling
------------- end run.sh ----------------\
* Fire up a new container
docker run -d -v /srv/slate:/srv/slate -p 9010:80 --restart=always --name slate ajwsurfer/ruby
* To edit the contents, change the contents of these two files
/srv/slate/source/index.html.md
/srv/slate/source/images/logo.png
Content type
Image
Digest
Size
98.5 MB
Last updated
over 9 years ago
docker pull ajwsurfer/ruby