зеркало из https://github.com/microsoft/LaBench.git
Merge pull request #4 from csteegz/csteegz/add-docker-file
Add dockerfile
This commit is contained in:
Коммит
c2e52519c1
|
@ -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"]
|
Загрузка…
Ссылка в новой задаче