22 lines
380 B
Docker
22 lines
380 B
Docker
|
FROM node:current-alpine
|
||
|
|
||
|
LABEL version="1.0.0" \
|
||
|
author="Daniel Sommer <daniel.sommer@velvettear.de>" \
|
||
|
license="MIT"
|
||
|
|
||
|
MAINTAINER Daniel Sommer <daniel.sommer@velvettear.de>
|
||
|
|
||
|
ENV LANG=C.UTF-8
|
||
|
|
||
|
RUN mkdir -p /opt/fritzfix && chown -R node:node /opt/fritzfix
|
||
|
|
||
|
WORKDIR /opt/fritzfix
|
||
|
|
||
|
COPY --chown=node:node . .
|
||
|
|
||
|
USER node
|
||
|
|
||
|
RUN npm install
|
||
|
|
||
|
ENTRYPOINT ["node", "fritzfix.js"]
|