mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
13 lines
203 B
Docker
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"]
|