mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 12:06:37 +00:00
Update nodeinfo sample function
Update the NodeInfo sample function to use latest watchdog version (0.7.7) to support both GET and POST method. Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
This commit is contained in:
@ -2,7 +2,7 @@ FROM alpine:3.6
|
||||
|
||||
RUN apk --update add nodejs nodejs-npm
|
||||
|
||||
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||
ADD https://github.com/openfaas/faas/releases/download/0.7.7/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
COPY package.json .
|
||||
|
@ -2,7 +2,7 @@ FROM arm64v8/alpine:3.6
|
||||
|
||||
RUN apk --update add nodejs nodejs-npm
|
||||
|
||||
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog-arm64 /usr/bin/fwatchdog
|
||||
ADD https://github.com/openfaas/faas/releases/download/0.7.7/fwatchdog-arm64 /usr/bin/fwatchdog
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
COPY package.json .
|
||||
|
@ -1,7 +1,7 @@
|
||||
FROM alpine:3.6
|
||||
RUN apk --no-cache add nodejs nodejs-npm
|
||||
|
||||
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog-armhf /usr/bin/fwatchdog
|
||||
ADD https://github.com/openfaas/faas/releases/download/0.7.7/fwatchdog-armhf /usr/bin/fwatchdog
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
COPY package.json .
|
||||
|
Reference in New Issue
Block a user