From c2e81b43b012e97df4f462b9554ea091b1a30cfd Mon Sep 17 00:00:00 2001 From: Hebron George Date: Mon, 2 Sep 2024 10:53:31 -0400 Subject: [PATCH] Try adding in a Procfile as recommended by a user in the dokku slack --- Dockerfile | 2 +- Procfile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Procfile 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