Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 解决 bootstrap 在 docker 无法引用的问题 (#235)
- Loading branch information
Showing
8 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
# frozen_string_literal: true | ||
|
||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) | ||
|
||
require 'bundler/setup' # Set up gems listed in the Gemfile. | ||
|
||
# Broken in docker image, need set it false | ||
# Ref: https://github.com/Shopify/bootsnap/issues/262 | ||
if ENV.fetch('ENABLE_BOOTSNAP', 'true') == 'true' | ||
require 'bootsnap/setup' # Speed up boot time by caching expensive operations. | ||
end | ||
require 'bootsnap/setup' # Speed up boot time by caching expensive operations. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
#!/usr/bin/with-contenv sh | ||
|
||
echo "========================================" | ||
echo " Zealot had change run-way inside, if fail to run make sure " | ||
echo " to upgrade the zealot-docker repospitory and re-generate the docker-compose.yml!" | ||
echo "========================================" | ||
echo | ||
|
||
echo "Starting Zealot" | ||
cd /app | ||
bundle exec puma -C config/puma.rb | tee /app/log/zealot.log |