docker-images/images/json2collectdmqtt/Dockerfile

16 lines
296 B
Docker
Raw Permalink 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" ]
2022-06-30 21:04:13 +00:00
USER 10400:10400
ENV NODE_ENV production
WORKDIR /srv
ENTRYPOINT [ "/usr/local/bin/run.sh" ]