diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..02b30e6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM debian:trixie-slim + +RUN apt-get update && apt-get install -y ca-certificates curl net-tools iputils-ping +RUN apt-get clean && rm -rf /var/lib/apt/lists/* + +COPY aralez /usr/local/bin/aralez + +RUN chmod +x /usr/local/bin/aralez +RUN mkdir -p /etc/aralez/certs/upstreams + +WORKDIR /etc/aralez + +ENTRYPOINT ["/usr/local/bin/aralez", "-c", "/etc/aralez/main.yaml"] diff --git a/README.md b/README.md index 5c4bafa..ab7c0f1 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ For getting the best performance on newer hardware use `aralez-x86_64-*.gz`. ```shell docker run -d \ - -v /local/path/to/config:/etc/aralez:ro \ + -v /local/path/to/config:/etc/aralez:rw \ -p 80:80 \ -p 443:443 \ sadoyan/aralez