14 lines
198 B
Docker
14 lines
198 B
Docker
|
FROM alpine:latest as builder
|
||
|
|
||
|
RUN apk add go
|
||
|
|
||
|
WORKDIR /build
|
||
|
COPY . /build/
|
||
|
|
||
|
RUN go build .
|
||
|
|
||
|
FROM alpine:latest
|
||
|
|
||
|
COPY --from=builder /build/web-proxy /bin/web-proxy
|
||
|
|
||
|
ENTRYPOINT [ "/bin/web-proxy" ]
|