зеркало из https://github.com/microsoft/LaBench.git
Add dockerfile to build and run labench
This commit is contained in:
Родитель
62241b4e39
Коммит
451cfd6c7c
|
@ -0,0 +1,11 @@
|
|||
FROM golang:alpine as builder
|
||||
RUN mkdir /builder
|
||||
RUN apk add --no-cache git
|
||||
ADD . /build/
|
||||
WORKDIR /build
|
||||
RUN go build
|
||||
FROM alpine
|
||||
COPY --from=builder /build/labench /app/
|
||||
COPY labench.yaml /app/
|
||||
WORKDIR /app
|
||||
CMD ["./labench"]
|
Загрузка…
Ссылка в новой задаче