2022-06-30 17:56:31 +00:00
|
|
|
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
|
2022-06-30 17:56:31 +00:00
|
|
|
|
|
|
|
ENV NODE_ENV production
|
|
|
|
WORKDIR /srv
|
|
|
|
ENTRYPOINT [ "/usr/local/bin/run.sh" ]
|