gitea-pages/Dockerfile
Rui Martins a65bad570b Add docker-compose.yml file
To run the site in docker is now a single command.
2017-08-09 09:57:33 +02:00

25 lines
455 B
Docker

FROM ruby:2.1
MAINTAINER mrafayaleem@gmail.com
RUN apt-get clean \
&& mv /var/lib/apt/lists /var/lib/apt/lists.broke \
&& mkdir -p /var/lib/apt/lists/partial
RUN apt-get update
RUN apt-get install -y \
node \
python-pygments \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/
WORKDIR /tmp
ADD Gemfile /tmp/
ADD Gemfile.lock /tmp/
RUN bundle install
VOLUME /src
EXPOSE 4000
WORKDIR /src
ENTRYPOINT ["jekyll", "serve", "-H", "0.0.0.0"]