|
|
@ -1,8 +1,13 @@
|
|
|
|
FROM ruby:2.3.1-alpine
|
|
|
|
FROM ruby:2.3.1-alpine
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LABEL maintainer="https://github.com/tootsuite/mastodon" \
|
|
|
|
|
|
|
|
description="A GNU Social-compatible microblogging server"
|
|
|
|
|
|
|
|
|
|
|
|
ENV RAILS_ENV=production \
|
|
|
|
ENV RAILS_ENV=production \
|
|
|
|
NODE_ENV=production
|
|
|
|
NODE_ENV=production
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EXPOSE 3000 4000
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /mastodon
|
|
|
|
WORKDIR /mastodon
|
|
|
|
|
|
|
|
|
|
|
|
COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/
|
|
|
|
COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/
|
|
|
|