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:
@@ -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"]
|
||||
Reference in New Issue
Block a user