Skip to content

Instantly share code, notes, and snippets.

@timgthomas
Last active January 3, 2021 21:39
Show Gist options
  • Save timgthomas/c48aa1339937360028f0ef6711de719c to your computer and use it in GitHub Desktop.
Save timgthomas/c48aa1339937360028f0ef6711de719c to your computer and use it in GitHub Desktop.
Dockerfiles
FROM spurin/hexo
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install
EXPOSE 4000
CMD ["yarn", "start"]
FROM jekyll/jekyll:3.8.5
WORKDIR /srv/jekyll
COPY Gemfile Gemfile.lock ./
RUN bundle install
EXPOSE 4000
CMD ["jekyll", "serve", "--watch", "--force_polling", "--verbose"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment