mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
Bump Dockerfiles and mentions of alpine 3.7 to be now 3.8 Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
16 lines
373 B
Docker
16 lines
373 B
Docker
FROM alpine:3.8
|
|
RUN apk --update add nodejs nodejs-npm
|
|
|
|
RUN apk --no-cache add curl \
|
|
&& curl -sL https://github.com/openfaas/faas/releases/download/0.9.6/fwatchdog > /usr/bin/fwatchdog \
|
|
&& chmod +x /usr/bin/fwatchdog
|
|
|
|
COPY package.json .
|
|
COPY handler.js .
|
|
COPY parser.js .
|
|
COPY sample.json .
|
|
|
|
RUN npm i
|
|
ENV fprocess="node handler.js"
|
|
CMD ["fwatchdog"]
|