unicornpaint

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1
parent 3c6a8b143b01403deae5f8d4b32ff6b8cb0bb3c8
Author: Martin Ashby <martin@ashbysoft.com>
Date:   Mon, 21 May 2018 09:53:06 +0000

Modified docker file for go packaging

Diffstat:
MDockerfile | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -2,7 +2,8 @@ FROM golang:alpine RUN apk update && apk add git RUN go get github.com/ecc1/spi RUN go get github.com/gorilla/websocket +RUN go get github.com/MFAshby/unicornpaint/unicorn COPY build/ build/ -COPY Server.go Unicorn.go RealUnicorn.go ./ -RUN go build -o ./unicornpaint Server.go Unicorn.go RealUnicorn.go +COPY Server.go ./ +RUN go build -o ./unicornpaint Server.go CMD ./unicornpaint