From 6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Mon, 21 May 2018 09:53:06 +0000 Subject: Modified docker file for go packaging --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index fdb4794..156e3f8 100644 --- 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 -- cgit v1.2.3-ZIG