Mainflux.mainflux/mqtt/Dockerfile

10 lines
124 B
Docker

FROM node:10.15.1-alpine
COPY *.proto mqtt/* ./
RUN npm rebuild && npm install
EXPOSE 1883 8880
CMD ["node", "mqtt.js"]