keep-a-changelog/Dockerfile
2018-10-27 22:37:22 +02:00

20 lines
330 B
Docker

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"]