mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 16:56:47 +00:00
10 lines
176 B
Docker
10 lines
176 B
Docker
FROM golang:1.7.5
|
|
RUN mkdir -p /go/src/app
|
|
COPY handler.go /go/src/app
|
|
WORKDIR /go/src/app
|
|
|
|
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|
|
|
|
CMD ["echo"]
|
|
|