docker-images/images/json2collectdmqtt/Dockerfile

15 lines
296 B
Docker

ARG REPO_LOCATION
# ARG BASE_VERSION
FROM ${REPO_LOCATION}minideb-node
RUN npm install --global json2collectdmqtt && rm -rf "$(npm get cache)";
COPY ./run.sh /usr/local/bin/run.sh
VOLUME [ "/srv" ]
USER 10400:10400
ENV NODE_ENV production
WORKDIR /srv
ENTRYPOINT [ "/usr/local/bin/run.sh" ]