From 6d7d10ec3870ea0d412f6b5e7c26cfdcce414dc7 Mon Sep 17 00:00:00 2001 From: Eugene Zbiranik Date: Mon, 11 Feb 2019 15:17:49 +0300 Subject: [PATCH] Fix to go along with new concept --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f3c13952..3b93e081 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,13 +12,13 @@ LABEL maintainer="AdGuard Team " # Update CA certs 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 -VOLUME /data +VOLUME ["/opt/adguardhome/conf", "/opt/adguardhome/work"] -ENTRYPOINT ["/AdGuardHome"] -CMD ["-h", "0.0.0.0"] \ No newline at end of file +ENTRYPOINT ["/opt/adguardhome/AdGuardHome"] +CMD ["-h", "0.0.0.0", "-c", "/opt/adguardhome/conf/AdGuardHome.yaml", "-w", "/opt/adguardhome/work"] \ No newline at end of file