闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
311 B

  1. FROM ruby:2.2.4
  2. ENV RAILS_ENV=production
  3. RUN apt-get update -qq && apt-get install -y build-essential libpq-dev
  4. RUN mkdir /mastodon
  5. WORKDIR /mastodon
  6. ADD Gemfile /mastodon/Gemfile
  7. ADD Gemfile.lock /mastodon/Gemfile.lock
  8. RUN bundle install --deployment --without test --without development
  9. ADD . /mastodon