2019-01-29 15:11:11 +03:00
|
|
|
FROM alpine:latest
|
|
|
|
LABEL maintainer="AdGuard Team <devteam@adguard.com>"
|
|
|
|
|
|
|
|
# Update CA certs
|
|
|
|
RUN apk --no-cache --update add ca-certificates && \
|
2019-02-11 15:10:36 +03:00
|
|
|
rm -rf /var/cache/apk/* && mkdir -p /opt/adguardhome
|
2019-01-29 15:11:11 +03:00
|
|
|
|
2019-02-11 15:10:36 +03:00
|
|
|
|
|
|
|
COPY ./AdGuardHome /opt/adguardhome/AdGuardHome
|
2019-01-29 15:11:11 +03:00
|
|
|
|
2019-02-12 11:54:40 +03:00
|
|
|
EXPOSE 53/tcp 53/udp 67/tcp 67/udp 68/tcp 68/udp 80/tcp 443/tcp 853/tcp 853/udp 3000/tcp
|
2019-01-29 15:11:11 +03:00
|
|
|
|
2019-02-11 15:10:36 +03:00
|
|
|
VOLUME ["/opt/adguardhome/conf", "/opt/adguardhome/work"]
|
2019-01-29 15:11:11 +03:00
|
|
|
|
2019-02-11 15:10:36 +03:00
|
|
|
ENTRYPOINT ["/opt/adguardhome/AdGuardHome"]
|
|
|
|
CMD ["-h", "0.0.0.0", "-c", "/opt/adguardhome/conf/AdGuardHome.yaml", "-w", "/opt/adguardhome/work"]
|