This is a Docker container with both Node and MongoDB installed.
BitBucket Pipelines does not yet support running multiple Docker containers, so to be able to run Node.js + MongoDB integration tests this container was built.
Link to BitBucket issue: https://bitbucket.org/site/master/issues/12757/ability-to-run-multiple-docker-containers
The Dockerfile should be easy enough to modify for your requirements.