diff options
author | Martin Ashby <martin@ashbysoft.com> | 2018-05-21 09:53:06 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2018-05-21 09:53:06 +0000 |
commit | 6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1 (patch) | |
tree | 1888d3399a22bc079ab37e86d765815fa45304b6 /Dockerfile | |
parent | 3c6a8b143b01403deae5f8d4b32ff6b8cb0bb3c8 (diff) | |
download | unicornpaint-6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1.tar.gz unicornpaint-6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1.tar.bz2 unicornpaint-6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1.tar.xz unicornpaint-6d8b1fc33ef7ae1bbb6050bb8acb60b4ca7e6da1.zip |
Modified docker file for go packaging
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |