mirror of
https://github.com/danbulant/api_docs
synced 2026-06-20 23:01:35 +00:00
added Dockerfile
This commit is contained in:
parent
ed5fa1b75c
commit
f00be01caf
1 changed files with 12 additions and 0 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
FROM ubuntu:trusty
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -yq ruby ruby-dev build-essential
|
||||||
|
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"]
|
||||||
Loading…
Reference in a new issue