website/Dockerfile

13 lines
204 B
Docker

FROM jekyll/minimal:3.8
RUN apk update && apk add g++ make
RUN mkdir -p /home
COPY Gemfile /home
COPY Gemfile.lock /home
RUN chmod -R 777 /home
WORKDIR /home
RUN bundle install
CMD ["jekyll", "serve"]