advancedmqttbridge/Dockerfile

9 lines
271 B
Docker

FROM node:14-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN apk --no-cache add --virtual builds-deps build-base python3
RUN npm ci --loglevel verbose --node_sqlite3_binary_host_mirror=https://greiner.live/binaries
COPY ../../. .
EXPOSE 3000
CMD [ "npm", "start" ]