DEV Community

Discussion on: Docker Development

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Dockerfile should pull in files from the same folder by default, if not .dockerignore'd.

FROM oracle/graalvm-ce
CMD ["node", "index.js"]
Enter fullscreen mode Exit fullscreen mode

As to run MongoDB, I would create docker-compose.yml. Something like this.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

So that's what docker compose is. Il go do some research.