diff --git a/Dockerfile b/Dockerfile index 8aee533..a4252e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,11 @@ -FROM nginx:1.27.4-alpine +FROM nginx:1.29.2-alpine # Metadata about the docker image LABEL name="tor-nginx-proxy-fix" LABEL version="1.0.0-beta-1.0" -LABEL maintainer="ALittlePatate (https://github.com/ALittlePatate)" +LABEL maintainer="patate (https://git.patate.dev)" -# Update packages and install tor -RUN apk --update --allow-untrusted --repository http://dl-4.alpinelinux.org/alpine/edge/community/ add \ - tor && rm -rf /var/cache/apk/* /tmp/* /var/tmp/* +RUN apk add --no-cache tor # Copy nginx and tor configurations COPY default.conf.template /etc/nginx/templates/default.conf.template