Running Apps in Production using Turborepo inside a single Docker Container #775
-
|
Hi, I have gone through the documentation, issues and the discussion threads here but wasn't able to find an answer. I have a use case with 2 backend servers and a frontend webapp needing to run side by side. Running Is that a recommended way to go about it? Any inputs will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Did you find a solution? Thanks |
Beta Was this translation helpful? Give feedback.
-
|
i have the same problem.... i build my entire project put it on a docker but we cant find the "pnpm turbo run start" or whatever i need to run it in PM2. |
Beta Was this translation helpful? Give feedback.
yes just about 5 minutes ago:
to run a single app
to run all aps:
and in turbo.json u need to add the start script:
this will run the script "start" in every app that u have in apps which had a start script like "next start".
Hope this helps anyone!