<reponame>wrussell1999/pod-4.1.2-portfolio
FROM ruby:2.5
WORKDIR /opt/portfolio

COPY . /opt/portfolio/

RUN gem install sassc -v '2.4.0' --source 'https://rubygems.org/'

RUN gem uninstall bundle
RUN gem install bundler -v 2.1.4

RUN bundle install #--path vendor/bundle
RUN gem install jekyll
EXPOSE 4000
EXPOSE 35729
CMD ["bundle", "exec", "jekyll", "serve", "--livereload", "--host", "0.0.0.0"]

