faas/sample-functions/NodeInfo/Dockerfile.armhf
2017-01-30 22:15:06 +00:00

13 lines
203 B
Docker

FROM armhf/alpine:latest
RUN apk --update add nodejs
COPY fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
COPY package.json .
COPY main.js .
RUN npm i
ENV fprocess="node main.js"
CMD ["fwatchdog"]