Files
wg-ui/Dockerfile
T

12 lines
222 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 /build/wireguard-ui /
ENTRYPOINT [ "/wireguard-ui" ]