Switch from local binary to ADD via release page

This commit is contained in:
Alex
2017-01-22 22:13:35 +00:00
parent 1135f2fa45
commit 9a42500deb
8 changed files with 24 additions and 9 deletions

View File

@ -1,6 +1,8 @@
FROM alpine:latest
RUN apk --update add nodejs
COPY ./fwatchdog /usr/bin/
ADD https://github.com/alexellis/faas/releases/download/v0.1-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
COPY package.json .
COPY handler.js .