forked from Cliffbreak/tsviewer
12 lines
No EOL
221 B
Docker
12 lines
No EOL
221 B
Docker
|
|
FROM golang:latest
|
|
RUN mkdir /app
|
|
WORKDIR /app
|
|
RUN mkdir /go
|
|
RUN export GOPATH=/app/go
|
|
COPY main.go .
|
|
RUN go get
|
|
WORKDIR $GOPATH/src/git.cliffbreak.de/Cliffbreak/tsviewer
|
|
RUN go build
|
|
EXPOSE 8080
|
|
CMD ["./tsviewer"] |