mirror of
https://github.com/openfaas/faas.git
synced 2025-06-25 00:03:24 +00:00
Enable routing to Alexa functions
Add first Alexa-compatible function HostnameIntent
This commit is contained in:
11
sample-functions/HostnameIntent/Dockerfile
Normal file
11
sample-functions/HostnameIntent/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
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"]
|
Reference in New Issue
Block a user