docker-images/images/json2collectdmqtt/Dockerfile

16 lines
290 B
Docker
Raw Normal View History

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 80:80
ENV NODE_ENV production
WORKDIR /srv
ENTRYPOINT [ "/usr/local/bin/run.sh" ]