Fix to go along with new concept
This commit is contained in:
parent
c1f6da2b52
commit
6d7d10ec38
10
Dockerfile
10
Dockerfile
|
@ -12,13 +12,13 @@ LABEL maintainer="AdGuard Team <devteam@adguard.com>"
|
||||||
|
|
||||||
# Update CA certs
|
# Update CA certs
|
||||||
RUN apk --no-cache --update add ca-certificates && \
|
RUN apk --no-cache --update add ca-certificates && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/* && mkdir -p /opt/adguardhome
|
||||||
|
|
||||||
COPY --from=build /src/AdGuardHome/AdGuardHome /AdGuardHome
|
COPY --from=build /src/AdGuardHome/AdGuardHome /opt/adguardhome/AdGuardHome
|
||||||
|
|
||||||
EXPOSE 53 3000
|
EXPOSE 53 3000
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME ["/opt/adguardhome/conf", "/opt/adguardhome/work"]
|
||||||
|
|
||||||
ENTRYPOINT ["/AdGuardHome"]
|
ENTRYPOINT ["/opt/adguardhome/AdGuardHome"]
|
||||||
CMD ["-h", "0.0.0.0"]
|
CMD ["-h", "0.0.0.0", "-c", "/opt/adguardhome/conf/AdGuardHome.yaml", "-w", "/opt/adguardhome/work"]
|
Loading…
Reference in New Issue