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="patate (https://git.patate.dev)" RUN apk add --no-cache tor # Copy nginx and tor configurations COPY default.conf.template /etc/nginx/templates/default.conf.template COPY torrc /etc/tor/torrc # Add script to start tor COPY start-tor.sh /docker-entrypoint.d/40-start-tor.sh RUN chmod +x /docker-entrypoint.d/40-start-tor.sh