Add Node debugging
and simplify Compose file
This commit is contained in:
18
result-app/.vscode/launch.json
vendored
Normal file
18
result-app/.vscode/launch.json
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Attach",
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"port": 5858,
|
||||
"address": "localhost",
|
||||
"restart": true,
|
||||
"sourceMaps": false,
|
||||
"outDir": null,
|
||||
"localRoot": "${workspaceRoot}",
|
||||
"remoteRoot": "/app",
|
||||
"timeout": 10000
|
||||
}
|
||||
]
|
||||
}
|
@ -2,6 +2,7 @@ FROM node:5.11.0-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install -g nodemon
|
||||
ADD package.json /app/package.json
|
||||
RUN npm config set registry http://registry.npmjs.org
|
||||
RUN npm install && npm ls
|
||||
|
Reference in New Issue
Block a user