mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 08:46:48 +00:00
12 lines
220 B
Docker
12 lines
220 B
Docker
FROM armhf/alpine:latest
|
|
RUN apk --no-cache add nodejs
|
|
|
|
COPY fwatchdog-armhf /usr/bin/fwatchdog
|
|
RUN chmod +x /usr/bin/fwatchdog
|
|
|
|
COPY package.json .
|
|
COPY main.js .
|
|
RUN npm i
|
|
ENV fprocess="node main.js"
|
|
CMD ["fwatchdog"]
|