mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 09:16:48 +00:00
12 lines
201 B
Docker
12 lines
201 B
Docker
FROM alpine:latest
|
|
RUN apk --update add nodejs
|
|
COPY ./fwatchdog /usr/bin/
|
|
|
|
COPY package.json .
|
|
COPY handler.js .
|
|
COPY sample.json .
|
|
|
|
RUN npm i
|
|
ENV fprocess="node handler.js"
|
|
CMD ["fwatchdog"]
|