diff --git a/Dockerfile b/Dockerfile index ef3cb8f..eafe28d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,9 @@ -ARG BASE_IMAGE="nginx" +ARG BASE_IMAGE="nginx:alpine" FROM ${BASE_IMAGE} # Install ping and ip -RUN apt update && \ - apt install -y iproute2 iputils-ping nginx-abi-1.22.1-7 libnginx-mod-http-perl libnginx-mod-http-lua +RUN apk add --no-cache iproute2 iputils nginx-mod-http-lua # Default nginx proxy envs ENV NGINX_PROXY_SOURCE_PORT=${NGINX_PROXY_SOURCE_PORT:-"Please configure NGINX_PROXY_SOURCE_PORT env!"}