mirror of
https://github.com/openfaas/faas.git
synced 2025-06-25 00:03:24 +00:00
Switch from local binary to ADD via release page
This commit is contained in:
@ -7,7 +7,10 @@ WORKDIR /go/src/github.com/alexellis/faas/sample-functions/DockerHubStats
|
||||
COPY . /go/src/github.com/alexellis/faas/sample-functions/DockerHubStats
|
||||
|
||||
RUN make
|
||||
COPY fwatchdog /usr/bin/fwatchdog
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.1-alpha/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
ENV fprocess "/go/bin/DockerHubStats"
|
||||
|
||||
CMD [ "/usr/bin/fwatchdog"]
|
||||
|
Reference in New Issue
Block a user