mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-05-22 22:58:29 +02:00
12 lines
223 B
Docker
12 lines
223 B
Docker
FROM golang:1.12 AS build
|
|
WORKDIR /build
|
|
COPY go.mod .
|
|
COPY go.sum .
|
|
RUN go mod download
|
|
COPY . .
|
|
RUN go install .
|
|
|
|
FROM gcr.io/distroless/base:latest
|
|
COPY --from=build /go/bin/wireguard-ui /
|
|
ENTRYPOINT [ "/wireguard-ui" ]
|