diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..19e42b8 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +Dockerfile +.git +.dockerignore diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..dbf198c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM golang:1.4-onbuild + +COPY . /usr/src/app +RUN go get -d -v +RUN go install -v