about summary refs log tree commit diff
path: root/Dockerfile
blob: f4ace2c741f596f95a52e840608aafb2b3f7da7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM golang

RUN go get \
    github.com/gorilla/mux && \
    mkdir /workdir

WORKDIR /workdir

COPY src /workdir/src
COPY hosted /workdir/hosted

RUN go build -o /workdir/metrics src/*.go

ENTRYPOINT ["./metrics"]