A heroku buildpack for setting up a clamd daemon.
- Add heroku buildpack apt:
heroku buildpacks:add --index 1 heroku-community/apt
- Add
Aptfile
in root directory with contentclamav clamav-daemon clamav-freshclam
- Add this buildpack in
app.json
:{ "url": "https://github.com/riskmethods/heroku-buildpack-clamav" }
- Change
Procfile
worker line to this:worker: bin/start-clamd bundle exec sidekiq