File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,4 @@ RUN mkdir /myapp
1212ADD . /myapp
1313WORKDIR /myapp
1414
15- RUN bundle exec sidekiq &
1615ENTRYPOINT scripts/deploy
Original file line number Diff line number Diff line change 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 
Original file line number Diff line number Diff line change 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. 
Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ bundle exec rake assets:precompile --trace
44
55export  SECRET_KEY_BASE=$( rake secret) 
66
7+ bundle exec  sidekiq & 
78bundle exec  rails server -b 0.0.0.0
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments