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