Hacker News new | ask | show | jobs
by dataewan 3297 days ago
We've tried using docker to put R applications into production. I'm no docker expert, and I found it pretty easy to do.

A couple of pointers: - If you have a dependency on a library like blast that takes a long time to compile, you can make a base docker image that already has that library installed. That makes iteration quicker, as you'll only need to build that base image once.

- If you put a web interface on the image using shiny, then it is straightforward to deploy it for your users to interact with.

1 comments

We usually dockerize outputs of our Syberia projects as well. We have several dozen internal packages consumed by the root projects. With many contributors working on constituent packages daily, we've found frequent changes to packages can slow down a docker-only workflow. So far, using a base docker image with lockbox catching us up to the most recent daily and hourly changes has been working well.