mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 00:06:38 +00:00
Include markdown sample
Fix UI refresh problem Enable invocation from portal
This commit is contained in:
10
sample-functions/MarkdownRender/Dockerfile.build
Normal file
10
sample-functions/MarkdownRender/Dockerfile.build
Normal file
@ -0,0 +1,10 @@
|
||||
FROM golang:1.7.3
|
||||
RUN mkdir -p /go/src/app
|
||||
COPY handler.go /go/src/app
|
||||
WORKDIR /go/src/app
|
||||
RUN go get github.com/microcosm-cc/bluemonday && \
|
||||
go get github.com/russross/blackfriday
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|
||||
|
||||
CMD ["echo"]
|
Reference in New Issue
Block a user