mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 12:06:37 +00:00
Bump alpine to 3.11
There's a new release which appears to have no apparent down- sides or breakages. https://www.alpinelinux.org/posts/Alpine-3.11.2-released.html Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
76e463a7a0
commit
b45e2a52a4
@ -1,4 +1,7 @@
|
||||
FROM functions/alpine:latest
|
||||
|
||||
USER root
|
||||
|
||||
RUN apk --update add nodejs nodejs-npm
|
||||
|
||||
COPY package.json .
|
||||
@ -6,5 +9,8 @@ COPY handler.js .
|
||||
COPY sample.json .
|
||||
|
||||
RUN npm i
|
||||
|
||||
USER 1000
|
||||
|
||||
ENV fprocess="node handler.js"
|
||||
CMD ["fwatchdog"]
|
||||
|
Reference in New Issue
Block a user