Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
docker-github-pages/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
21 lines (17 sloc)
573 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM starefossen/ruby-node:2-6-alpine | |
ENV GITHUB_GEM_VERSION 202 | |
ENV JSON_GEM_VERSION 1.8.6 | |
RUN apk --update add --virtual build_deps \ | |
build-base ruby-dev libc-dev linux-headers \ | |
&& gem install --verbose --no-document \ | |
json:${JSON_GEM_VERSION} \ | |
github-pages:${GITHUB_GEM_VERSION} \ | |
jekyll-github-metadata \ | |
minitest \ | |
&& apk del build_deps \ | |
&& apk add git \ | |
&& mkdir -p /usr/src/app \ | |
&& rm -rf /usr/lib/ruby/gems/*/cache/*.gem | |
WORKDIR /usr/src/app | |
EXPOSE 4000 80 | |
CMD jekyll serve -d /_site --watch --force_polling -H 0.0.0.0 -P 4000 |