]> cat aescling's git repositories - mastodon.git/blob - Dockerfile
Merge branch 'master' into development
[mastodon.git] / Dockerfile
1 FROM ruby:2.3.1-alpine
2
3 ENV RAILS_ENV=production \
4 NODE_ENV=production
5
6 WORKDIR /mastodon
7
8 COPY . /mastodon
9
10 RUN BUILD_DEPS=" \
11 postgresql-dev \
12 libxml2-dev \
13 libxslt-dev \
14 build-base" \
15 && apk -U upgrade && apk add \
16 $BUILD_DEPS \
17 nodejs \
18 libpq \
19 libxml2 \
20 libxslt \
21 ffmpeg \
22 file \
23 imagemagick \
24 && npm install -g npm@3 && npm install -g yarn \
25 && bundle install --deployment --without test development \
26 && yarn \
27 && npm cache clean \
28 && apk del $BUILD_DEPS \
29 && rm -rf /tmp/* /var/cache/apk/*
30
31 VOLUME /mastodon/public/system /mastodon/public/assets
This page took 0.074617 seconds and 5 git commands to generate.