diff --git a/Dockerfile b/Dockerfile index cc4fe44..51d43bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -92,4 +92,4 @@ EXPOSE 3000 CMD ["./bin/rails", "server"] # Uncomment the following line if you want to run Sidekiq by default - CMD ["bundle", "exec", "sidekiq", "-C", "config/sidekiq.yml"] \ No newline at end of file +# CMD ["bundle", "exec", "sidekiq", "-C", "config/sidekiq.yml"] \ No newline at end of file diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..ba8a51a --- /dev/null +++ b/Procfile @@ -0,0 +1,3 @@ +web: bundle exec puma -C config/puma.rb +worker: bundle exec sidekiq -C config/sidekiq.yml +release: bundle exec rails db:migrate