20 lines
No EOL
375 B
Docker
20 lines
No EOL
375 B
Docker
|
|
ARG ts3_ip=0.0.0.0
|
|
ARG ts3_name=serveradmin
|
|
ARG ts3_pw=f3gWdOU3
|
|
ARG ts3_port=9987
|
|
ARG ts3_quarry=10011
|
|
ARG webport=8080
|
|
|
|
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"] |