logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: fa494dbb1d51dad926dd9b95e333dce48c2a3891
parent: c392c54271d605ed3176d5f20eaca36048d1682b
Author: Eugen <eugen@zeonfederated.com>
Date:   Thu,  6 Apr 2017 19:32:50 +0200

Merge pull request #1038 from wade-r/optimize-dockerfile

Optimize Dockerfile

Diffstat:

M.dockerignore1+
MDockerfile4+++-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.dockerignore b/.dockerignore @@ -5,3 +5,4 @@ public/assets node_modules storybook neo4j +vendor/bundle diff --git a/Dockerfile b/Dockerfile @@ -5,7 +5,7 @@ ENV RAILS_ENV=production \ WORKDIR /mastodon -COPY . /mastodon +COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/ RUN BUILD_DEPS=" \ postgresql-dev \ @@ -28,4 +28,6 @@ RUN BUILD_DEPS=" \ && apk del $BUILD_DEPS \ && rm -rf /tmp/* /var/cache/apk/* +COPY . /mastodon + VOLUME /mastodon/public/system /mastodon/public/assets