Docker copy

This commit is contained in:
Moritz 2019-01-31 19:39:04 +01:00
parent 6343577301
commit e152962fe7

View file

@ -5,6 +5,7 @@ WORKDIR /app
RUN mkdir /go RUN mkdir /go
RUN export GOPATH=/app/go RUN export GOPATH=/app/go
COPY main.go . COPY main.go .
COPY config.json .
RUN go get RUN go get
WORKDIR $GOPATH/src/git.cliffbreak.de/Cliffbreak/tsviewer WORKDIR $GOPATH/src/git.cliffbreak.de/Cliffbreak/tsviewer
RUN go build RUN go build