mirror of
https://github.com/danbulant/api_docs
synced 2026-06-21 15:41:59 +00:00
Add git to allow rake build
This commit is contained in:
parent
7452f6b172
commit
506095a1ed
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
FROM ubuntu:trusty
|
FROM ubuntu:trusty
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -yq ruby ruby-dev build-essential
|
RUN apt-get install -yq ruby ruby-dev build-essential git
|
||||||
RUN gem install --no-ri --no-rdoc bundler
|
RUN gem install --no-ri --no-rdoc bundler
|
||||||
ADD Gemfile /app/Gemfile
|
ADD Gemfile /app/Gemfile
|
||||||
ADD Gemfile.lock /app/Gemfile.lock
|
ADD Gemfile.lock /app/Gemfile.lock
|
||||||
|
|
@ -9,4 +9,4 @@ RUN cd /app; bundle install
|
||||||
ADD . /app
|
ADD . /app
|
||||||
EXPOSE 4567
|
EXPOSE 4567
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
CMD ["bundle", "exec", "middleman", "server"]
|
CMD ["bundle", "exec", "middleman", "server"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue