How to add an existing Rails app to a docker container

I’ve got an existing Rails app that I need to put into a docker container. Most of the guides I’ve seen are focused around starting the rails project from scratch. Are there some different considerations containerizing an existing rails project?
It’s a Rails 5 API-only app without a db.
Thanks for any help