diff --git a/watchdog/Dockerfile b/watchdog/Dockerfile index 743ac22c..a02427e6 100644 --- a/watchdog/Dockerfile +++ b/watchdog/Dockerfile @@ -5,12 +5,13 @@ ARG GIT_COMMIT RUN mkdir -p /go/src/github.com/openfaas/faas/watchdog WORKDIR /go/src/github.com/openfaas/faas/watchdog -COPY main.go . -COPY readconfig.go . -COPY readconfig_test.go . -COPY requesthandler_test.go . -COPY types types -COPY version.go . +COPY main.go . +COPY handler.go . +COPY readconfig.go . +COPY readconfig_test.go . +COPY requesthandler_test.go . +COPY types types +COPY version.go . # Run a gofmt and exclude all vendored code. RUN test -z "$(gofmt -l $(find . -type f -name '*.go' -not -path "./vendor/*"))"