7 lines
No EOL
121 B
Docker
7 lines
No EOL
121 B
Docker
FROM golang:latest
|
|
RUN mkdir -p /app
|
|
WORKDIR /app
|
|
ADD main.go /app
|
|
RUN go get -u
|
|
RUN go build ./main.go
|
|
CMD ["./main"] |