remote debug config
This commit is contained in:
parent
c0f48327b5
commit
9b739fa128
@ -60,7 +60,7 @@ ENV NODE_ENV=demo
|
||||
|
||||
# RUN apk update && apk add bash
|
||||
RUN apk update && apk add git
|
||||
RUN npm install -g npm@latest
|
||||
#RUN npm install -g npm@latest
|
||||
|
||||
|
||||
WORKDIR /app
|
||||
@ -69,6 +69,7 @@ COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
|
||||
# && mv node_modules ../
|
||||
COPY . .
|
||||
RUN npm install
|
||||
#RUN mpm install nodemon
|
||||
EXPOSE 8080 8081
|
||||
|
||||
|
||||
|
4
_notes/readme.md
Normal file
4
_notes/readme.md
Normal file
@ -0,0 +1,4 @@
|
||||
start the project in container:
|
||||
#
|
||||
#for debugging:
|
||||
# docker-compose -f docker-compose.debug.yml up
|
@ -8,7 +8,13 @@ services:
|
||||
dockerfile: ./Dockerfile
|
||||
environment:
|
||||
NODE_ENV: development
|
||||
# TTS_BACKEND_URL: https://tts.d-popov.com/asr
|
||||
TTS_BACKEND_URL: http://192.168.0.10:9009/asr
|
||||
WS_URL: wss://ws.ai.d-popov.com
|
||||
SERVER_PORT_WS: 3001
|
||||
SERVER_PORT_HTTP: 3000
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 23000:3000
|
||||
- 23001:3001
|
||||
- 9229:9229
|
||||
command: ["node", "--inspect=0.0.0.0:9229", "web/server.js"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user