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