Skip to content

Commit

Permalink
Merge pull request #14 from elct9620/bugfix/copy-assets-not-removed-i…
Browse files Browse the repository at this point in the history
…f-precompile-disabled

Fix copy assets not removed if precompile disabled
  • Loading branch information
elct9620 authored Feb 15, 2022
2 parents bf438a9 + 6891491 commit 807e67d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
boxing (0.6.0)
boxing (0.6.1)
bundler (~> 2.0)
thor (~> 1.0)

Expand Down
2 changes: 1 addition & 1 deletion lib/boxing/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Boxing
VERSION = '0.6.0'
VERSION = '0.6.1'
end
3 changes: 2 additions & 1 deletion templates/Dockerfile.tt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ ENV RAILS_SERVE_STATIC_FILES=yes
ENV APP_ROOT=$APP_ROOT

COPY . ${APP_ROOT}
COPY --from=assets /${APP_ROOT}/public /${APP_ROOT}/public
<%- if config.assets_precompile -%>COPY --from=assets /${APP_ROOT}/public /${APP_ROOT}/public
<%- end -%>

ARG REVISION
ENV REVISION $REVISION
Expand Down

0 comments on commit 807e67d

Please sign in to comment.