Having trouble setting up a dockerfile
17:06 08 Sep 2026

I have googled and tried my best to understand how to set up my dockerfile but it just isn't clicking and I don't know where to start.

My project is a turborepo monorepo using next.js and django with a Postgresql database on Visual Studio Code on a Debian Linux system. I'm using NPM. My dependencies, aside from the stuff already included with Next.js and Django for my backend, also include Boostrap, React-Bootstrap and Decimal.js, if that is relevant. My database already exists and the dependencies are already available where applicable in the package.jsons in thevrespective folders.

My goal is to be able to accommodate multiple frontends (one for a desktop, another for a mobile frontend) from the same backend in a unified codebase. I have tried multiple templates and they aren't seeming to build properly... can somebody please provide me with a reliable template and/or walk me through the process of how to set up the file (I am willing to learn)? Thank you and sorry for the noob question.

docker turborepo