Skip to content
Snippets Groups Projects
Commit fa494dbb authored by Eugen's avatar Eugen Committed by GitHub
Browse files

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

Optimize Dockerfile
parents c392c542 a2637c17
No related branches found
No related tags found
No related merge requests found
......@@ -5,3 +5,4 @@ public/assets
node_modules
storybook
neo4j
vendor/bundle
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment