Improved dockerfile, default config file overloaded via command
This commit is contained in:
parent
dda670d6c0
commit
7652649ac9
1 changed files with 4 additions and 1 deletions
|
|
@ -20,4 +20,7 @@ FROM alpine:latest
|
||||||
RUN apk --no-cache add ca-certificates
|
RUN apk --no-cache add ca-certificates
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /out/cfdns /app/cfdns
|
COPY --from=builder /out/cfdns /app/cfdns
|
||||||
ENTRYPOINT ["/app/cfdns"]
|
|
||||||
|
# Default command
|
||||||
|
ENTRYPOINT ["/app/cfdns"]
|
||||||
|
CMD ["-config", "/app/config/cfdns.yaml"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue