pdns-auth-proxy/Dockerfile.multistage

11 lines
289 B
Docker

# build stage
FROM golang:1.12 AS build-env
ADD . /pdns-auth-proxy
RUN cd /pdns-auth-proxy && make build
# final stage
FROM alpine
WORKDIR /app
COPY --from=build-env /pdns-auth-proxy/pdns-auth-proxy /pdns-auth-proxy/
ENTRYPOINT /pdns-auth-proxy/pdns-auth-proxy /pdns-auth-proxy/proxy.ini