Skip to content

Commit

Permalink
fix: Deactivate Deface precompile on prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Nov 30, 2023
1 parent 312a929 commit 9d33c32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ RUN yarn install --frozen-lockfile
COPY . .

RUN bundle exec bootsnap precompile --gemfile app/ lib/ config/ bin/ db/ && \
bundle exec rails assets:precompile && \
bundle exec rails deface:precompile
bundle exec rails assets:precompile

RUN rm -rf node_modules tmp/cache vendor/bundle spec \
&& rm -rf /usr/local/bundle/cache/*.gem \
Expand Down

0 comments on commit 9d33c32

Please sign in to comment.