Permalink
Browse files

Update Dockerfile

  • Loading branch information...
atsmin committed May 13, 2017
1 parent 5393ee4 commit 706dd5861c696c23a71c8fa327e9f03a355ed04e
Showing with 2 additions and 0 deletions.
  1. +2 −0 Dockerfile
View
@@ -18,6 +18,7 @@ ADD https://github.com/tootsuite/mastodon/archive/v${MASTODON_VERSION}.tar.gz .
RUN tar -xvf v${MASTODON_VERSION}.tar.gz \
&& mkdir -p /tmp/mastodon/build/ \
&& mv mastodon-*/* /tmp/mastodon/build/ \
&& mv mastodon-*/.[^\.]* /tmp/mastodon/build/ \
&& rm -f v${MASTODON_VERSION}.tar.gz \
WORKDIR /mastodon
@@ -53,6 +54,7 @@ RUN cp /tmp/mastodon/build/Gemfile . \
&& apk del build-dependencies \
&& rm -rf /var/cache/apk/* \
&& cp -r /tmp/mastodon/build/* . \
&& cp -r /tmp/mastodon/build/.[^\.]* . \
&& rm -rf /tmp/mastodon/
VOLUME /mastodon/public/system /mastodon/public/assets

0 comments on commit 706dd58

Please sign in to comment.