feat: updated nginx image, fixed tor downloading

This commit is contained in:
2025-10-22 11:02:32 +02:00
parent b6581843d6
commit 962c255fd2

View File

@@ -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