Changes to the project file structure. Node_modules and package.json moved outside of src
This commit is contained in:
@@ -31,7 +31,8 @@ services:
|
||||
ports:
|
||||
- '3000:3000'
|
||||
volumes:
|
||||
- ./src:/home/node/app
|
||||
- ../ProjectSourceCode:/home/node/app # Mount ProjectSourceCode directory
|
||||
- ../ProjectSourceCode/node_modules:/home/node/app/node_modules # Mount node_modules directory
|
||||
command: 'npm start'
|
||||
volumes:
|
||||
group-project:
|
||||
group-project:
|
||||
|
||||
Reference in New Issue
Block a user