mirror of
https://github.com/openfaas/faas.git
synced 2025-06-23 15:23:29 +00:00
Move handlers into ./handlers
This commit is contained in:
@ -6,14 +6,15 @@ RUN go get -d github.com/docker/docker/api/types \
|
||||
&& go get -d github.com/docker/docker/client \
|
||||
&& go get github.com/gorilla/mux \
|
||||
&& go get github.com/prometheus/client_golang/prometheus
|
||||
# RUN go get -d github.com/prometheus/client_model/go
|
||||
RUN go get -d github.com/Sirupsen/logrus
|
||||
|
||||
WORKDIR /go/src/github.com/alexellis/faas/gateway
|
||||
|
||||
COPY metrics metrics
|
||||
COPY requests requests
|
||||
COPY tests tests
|
||||
COPY tests tests
|
||||
COPY handlers handlers
|
||||
|
||||
COPY server.go .
|
||||
COPY proxy.go .
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|
||||
|
Reference in New Issue
Block a user