mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 03:56:37 +00:00
Enable routing via /functions/ endpoint
This commit is contained in:
11
sample-functions/WebhookStash/Dockerfile
Normal file
11
sample-functions/WebhookStash/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM golang:1.7.3
|
||||
RUN mkdir -p /go/src/app
|
||||
COPY handler.go /go/src/app
|
||||
WORKDIR /go/src/app
|
||||
RUN go get -d -v
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|
||||
|
||||
COPY fwatchdog /usr/bin/
|
||||
|
||||
ENV fprocess="/go/src/app/app"
|
||||
CMD ["fwatchdog"]
|
Reference in New Issue
Block a user