mirror of
https://github.com/danbulant/api_docs
synced 2026-05-19 12:19:08 +00:00
12 lines
314 B
Docker
12 lines
314 B
Docker
FROM ubuntu:wily
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -yq ruby ruby-dev build-essential git nodejs
|
|
RUN gem install --no-ri --no-rdoc bundler
|
|
ADD Gemfile /app/Gemfile
|
|
ADD Gemfile.lock /app/Gemfile.lock
|
|
RUN cd /app; bundle install
|
|
ADD . /app
|
|
EXPOSE 4567
|
|
WORKDIR /app
|
|
CMD ["bundle", "exec", "middleman", "server"]
|