mirror of
https://github.com/openfaas/faas.git
synced 2025-06-20 04:56:38 +00:00
Add changecolorintent
This commit is contained in:
12
sample-functions/ChangeColorIntent/Dockerfile
Normal file
12
sample-functions/ChangeColorIntent/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM alpine:latest
|
||||
RUN apk --update add nodejs
|
||||
COPY ./fwatchdog /usr/bin/
|
||||
|
||||
COPY package.json .
|
||||
COPY handler.js .
|
||||
COPY sendColor.js .
|
||||
COPY sample.json .
|
||||
|
||||
RUN npm i
|
||||
ENV fprocess="node handler.js"
|
||||
CMD ["fwatchdog"]
|
Reference in New Issue
Block a user