aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2018-05-21 09:53:06 +0000
committerMartin Ashby <martin@ashbysoft.com>2018-05-21 09:53:06 +0000
commit6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1 (patch)
tree1888d3399a22bc079ab37e86d765815fa45304b6
parent3c6a8b143b01403deae5f8d4b32ff6b8cb0bb3c8 (diff)
downloadunicornpaint-6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1.tar.gz
unicornpaint-6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1.tar.bz2
unicornpaint-6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1.tar.xz
unicornpaint-6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1.zip
Modified docker file for go packaging
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
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