]> cat aescling's git repositories - mastodon.git/blob - Dockerfile
Fix up some localizations
[mastodon.git] / Dockerfile
1 FROM ruby:2.3.1
2
3 ENV RAILS_ENV=production
4 ENV NODE_ENV=production
5
6 RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main contrib non-free' >> /etc/apt/sources.list
7 RUN curl -sL https://deb.nodesource.com/setup_4.x | bash -
8 RUN apt-get update -qq && apt-get install -y build-essential libpq-dev libxml2-dev libxslt1-dev nodejs ffmpeg && rm -rf /var/lib/apt/lists/*
9 RUN npm install -g npm@3 && npm install -g yarn
10 RUN mkdir /mastodon
11
12 WORKDIR /mastodon
13
14 ADD Gemfile /mastodon/Gemfile
15 ADD Gemfile.lock /mastodon/Gemfile.lock
16 RUN bundle install --deployment --without test development
17
18 ADD package.json /mastodon/package.json
19 ADD yarn.lock /mastodon/yarn.lock
20 RUN yarn
21
22 ADD . /mastodon
23
24 VOLUME ["/mastodon/public/system", "/mastodon/public/assets"]
This page took 0.122032 seconds and 5 git commands to generate.