Question
Dokku with Dockerfile? How can I install system level packages with Dokku?
Hi guys,
So I've spent a few days reading tutorials and posts and watching videos on Docker. It looks amazing. I'm not currently using it, but I want to.
I have a NodeJS app with a MongoDB instance that I want to:
- Deploy
- Have CI deploy it
- Use docker for both local and production instance (i.e. the same).
I want to use DigitalOcean droplets. However, reading their tutorials, I keep running into Dokku, which is a small Heroku clone.
How does Dokku fit into Docker? Dokku seems to rely on Heroku-buildpacks for extra features. I.e. you want a Mongo instance, just install this plugin. Is this what I want? I want to install some other stuff on the container (Imagemagick, libvips etc), but there are no buildpacks for that. Can't I just write my own handwritten Dockerfile? I'm unsure where to start.
Can anyone point me in the right direction?
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×