10 lines
155 B
Docker
10 lines
155 B
Docker
|
FROM golang:alpine as build
|
||
|
WORKDIR /root
|
||
|
COPY . .
|
||
|
RUN go build
|
||
|
|
||
|
FROM alpine
|
||
|
COPY --from=build /root/test /root/test
|
||
|
EXPOSE 5000
|
||
|
ENTRYPOINT ["/root/test"]
|