10 lines
155 B
Text
10 lines
155 B
Text
|
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"]
|