mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
AlpineFunction additional Dockerfiles Fix Coffe, node nonroot user and change workdir DnCore nonroot and updated to 2.1, new README Fix golang user and watchdog Java user and watchdog fix Watchdog and user for node image Fix python user and watchdog Fix R username and watchdog Captainsintent user and fwatchdog ChangeColorIntent change username, fwatchdog and directory CHelloWorld remove tmp, disabled lock, fwatchdog and user DockerHubStats user, fwatchdog and dependencies Change figlet to use base alpine image Improve figlet ARM Set base image GIF-Maker MarkDownRender change base image NodeInfo change base image PhantomJS user and fwatchdog Resize Image SentimentAnalysis user and watchdog WebhookStach change root image Replace user faas with app Upgrade alpine to latest version Revert vendor folders Upgrade alpine:3.9
11 lines
162 B
Docker
11 lines
162 B
Docker
FROM functions/alpine:latest
|
|
|
|
RUN apk --update add nodejs nodejs-npm
|
|
|
|
COPY package.json .
|
|
COPY main.js .
|
|
|
|
RUN npm i
|
|
|
|
ENV fprocess="node main.js"
|
|
CMD ["fwatchdog"] |