From c25aae9ec630c546999a5cd62740639746efbc13 Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Tue, 10 Mar 2020 11:53:37 -0400 Subject: [PATCH] Remove Docker I don't use or support Docker for Keep a Changelog development. I recommend using rbenv or chruby to develop with Ruby. Docker is way too much overhead (and power usage) on macOS to run something as simple as a middleman site. # Title # Tell me everything! # Co-authors (they will be credited on GitHub as well) # Co-authored-by: Carolina Powers # Co-authored-by: Meg Kline-Tuls # Co-authored-by: Will # Co-authored-by: thatchej --- Dockerfile | 20 -------------------- README.md | 7 ------- 2 files changed, 27 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index ce61e12..0000000 --- a/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM ruby:2.3-alpine - -RUN apk add --update \ - build-base \ - libxml2-dev \ - libxslt-dev \ - nodejs - -# throw errors if Gemfile has been modified since Gemfile.lock -RUN bundle config --global frozen 1 - -WORKDIR /usr/src/app - -COPY Gemfile Gemfile.lock ./ -RUN bundle install - -COPY . . - -EXPOSE 4567 -CMD ["bundle", "exec", "middleman"] \ No newline at end of file diff --git a/README.md b/README.md index a2f103d..5d85265 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,6 @@ This repository generates https://keepachangelog.com/. - `bundle install` - `bundle exec middleman` starts the local development server at http://localhost:4567 -### Docker - -- `git clone https://github.com/olivierlacan/keep-a-changelog.git` -- `cd keep-a-changelog` -- `docker build -t keep-a-changelog .` -- `docker run -p 4567:4567 keep-a-changelog` starts the docker development server and binds it at http://localhost:4567 - ### Deployment - `bundle exec rake publish` builds and pushes to the `gh-pages` branch