How to import node-red nodes into Docker?

I created a Dockerfile in the node-red directory and then built my own node-red Docker image. However, the installable nodes for node-red are not being found, even though they were indeed built in.