3 LABEL maintainer="https://github.com/tootsuite/mastodon" \
4 description="A GNU Social-compatible microblogging server"
6 ENV RAILS_ENV=production \
13 COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/
20 && apk -U upgrade && apk add \
29 && npm install -g npm@3 && npm install -g yarn \
30 && bundle install --deployment --without test development \
33 && npm -g cache clean \
34 && apk del $BUILD_DEPS \
35 && rm -rf /tmp/* /var/cache/apk/*
39 VOLUME /mastodon/public/system /mastodon/public/assets