forked from Cliffbreak/tsviewer
11 lines
No EOL
185 B
Docker
11 lines
No EOL
185 B
Docker
|
|
FROM golang:latest
|
|
RUN mkdir /app
|
|
RUN mkdir -p /app
|
|
WORKDIR /app
|
|
RUN go get -u
|
|
RUN go build -o main .
|
|
CMD ["/app/main"]
|
|
ADD . /app
|
|
RUN go build ./main.go
|
|
CMD ["./main"] |