Initial euclide.org release
This commit is contained in:
10
Dockerfile.multistage
Normal file
10
Dockerfile.multistage
Normal file
@@ -0,0 +1,10 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user