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