Skip to content

Commit 3e3bbb5

Browse files
committed
Merge branch 'internal' of https://github.com/srcclr/commit-watcher into srcclr_updates
2 parents a896be2 + 57cb4c2 commit 3e3bbb5

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

Dockerfile-internal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ RUN mkdir /myapp
1212
ADD . /myapp
1313
WORKDIR /myapp
1414

15-
RUN bundle exec sidekiq &
1615
ENTRYPOINT scripts/deploy

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
# Disable serving static files from the `/public` folder by default since
2424
# Apache or NGINX already handles this.
25-
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
25+
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
2626

2727
# Compress JavaScripts and CSS.
2828
config.assets.js_compressor = :uglifier

config/environments/test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
config.eager_load = false
1414

1515
# Configure static file server for tests with Cache-Control for performance.
16-
config.serve_static_files = true
16+
config.public_file_server.enabled = true
1717
config.static_cache_control = 'public, max-age=3600'
1818

1919
# Show full error reports and disable caching.

scripts/deploy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ bundle exec rake assets:precompile --trace
44

55
export SECRET_KEY_BASE=$(rake secret)
66

7+
bundle exec sidekiq &
78
bundle exec rails server -b 0.0.0.0

0 commit comments

Comments
 (0)