-
Notifications
You must be signed in to change notification settings - Fork 192
Closed
Description
I have a new Rails app, There are some env
ruby 3.3.5
rails 8.0.0
kamal 2.3.0
Dockerfile
# Install application gems
RUN bundle install
RUN rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git
RUN rm -rf tmp/cache/bootsnap*
RUN bundle exec bootsnap precompile --gemfile
# Copy application code
COPY . .
# Precompile bootsnap code for faster boot times
RUN bundle exec bootsnap precompile app/ lib/
# Precompiling assets for production without requiring secret RAILS_MASTER_KEY
RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile
When I run kamal setup
DEBUG [c688ef86] #15 /bin/sh -c bundle install
DEBUG [c688ef86] #15 CACHED
DEBUG [c688ef86]
DEBUG [c688ef86] #16 /bin/sh -c rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git
DEBUG [c688ef86] #16 CACHED
DEBUG [c688ef86]
DEBUG [c688ef86] #17 /bin/sh -c rm -rf tmp/cache/bootsnap*
DEBUG [c688ef86] #17 CACHED
DEBUG [c688ef86]
DEBUG [c688ef86] #18 /bin/sh -c bundle exec bootsnap precompile --gemfile
mattgibson, caiohsramos, mihael, sqbell and saboyutaka
Metadata
Metadata
Assignees
Labels
No labels