Enable routing via /functions/ endpoint

This commit is contained in:
Alex
2017-01-04 09:14:21 +00:00
parent f2fdfde43c
commit 84d1c0eaef
6 changed files with 84 additions and 18 deletions

View 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"]