added devcontainer.

fix build error, deploy using docker-compose works,
misc changes
using global MQTT instead of local one to tap to already existin broker
This commit is contained in:
Dobromir Popov ONE
2023-05-14 21:40:57 +03:00
parent 145e202d24
commit 95ce6e8c87
7 changed files with 78 additions and 14 deletions

View File

@@ -18,7 +18,9 @@ ENV NODE_ENV development-dockerfile
# USING BASE_IMAGE
FROM node:12-alpine
COPY --from=BASE_IMAGE /app /
CMD npm start
# CMD npm start
CMD ["npm", "run", "start:debug"]
EXPOSE 2080
# CMD [“dumb-init”, “node”, dht.js”]
# CMD ["npm","run", "pm2"]