Great read - I wonder when it comes to dockerising just app1 or app2 to their own images, how we handle the common part? will it work if I just copy app1 and common with respect of the folder structure, install dependencies respectively, and create a shorter version of the workspace package.json that just mention app1 and common, then use that package.json as docker's command entry point, so that @xyz
/ui still works for app1 even in a contianer, meanwhile i don't have to copy and build the entire monorepo in an image where I just need app1?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great read - I wonder when it comes to dockerising just app1 or app2 to their own images, how we handle the common part? will it work if I just copy app1 and common with respect of the folder structure, install dependencies respectively, and create a shorter version of the workspace package.json that just mention app1 and common, then use that package.json as docker's command entry point, so that @xyz /ui still works for app1 even in a contianer, meanwhile i don't have to copy and build the entire monorepo in an image where I just need app1?