From cb2e3c3251cd373a305e89a077b28fa4e13f35a2 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (VMware)" Date: Sat, 14 Apr 2018 17:31:41 -0700 Subject: [PATCH] Add new source file to Dockerfile Signed-off-by: Alex Ellis (VMware) --- watchdog/Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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/*"))"