Skip to content

Commit

Permalink
Remove some unnecessary files on docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
aidewoode committed Dec 8, 2023
1 parent 16d20d2 commit 4877dcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
Expand Up @@ -12,6 +12,7 @@
/public/uploads/
/test
/screenshots
/coverage
/.github
/config/master.key
/.direnv
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -32,7 +32,7 @@ COPY . /app

RUN SECRET_KEY_BASE_DUMMY=1 bundle exec rails assets:precompile \
&& yarn cache clean \
&& rm -rf node_modules tmp/cache/* /tmp/* yarn.lock log/production.log app/javascript/* app/assets/*
&& rm -rf node_modules tmp/cache/* /tmp/* yarn.lock log/production.log app/javascript/* app/assets/* storage/*


FROM base
Expand Down

0 comments on commit 4877dcb

Please sign in to comment.