Last active
January 3, 2021 21:39
-
-
Save timgthomas/c48aa1339937360028f0ef6711de719c to your computer and use it in GitHub Desktop.
Dockerfiles
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 spurin/hexo | |
WORKDIR /app | |
COPY package.json yarn.lock ./ | |
RUN yarn install | |
EXPOSE 4000 | |
CMD ["yarn", "start"] |
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 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