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