mirror of
https://github.com/placeholder-soft/prodigyapi.git
synced 2026-01-12 22:44:57 +08:00
13 lines
314 B
Docker
13 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"]
|