How to install the dependencies in a specific workspace #3558
-
I'm new to monorepos with yarn. I have a monorepo with a folder structure like below:
I want to just install the dependencies related to the api. I tried
I expected something like this:
btw, the reason I want to do that is that I'm trying to dockerize the api. I'm wondering what command should I run in Dockerfile? can anyone help me? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Have you tried adding the api workspace to the Please do let me know if the docker setup works out for you, I am also looking to do a similar setup |
Beta Was this translation helpful? Give feedback.
-
Don't forget to install workspaces-tools plugin
|
Beta Was this translation helpful? Give feedback.
Don't forget to install workspaces-tools plugin