# Lightweight routing proxy for dynamic GitHub repo routing FROM nginx:1.27-alpine # Install envsubst for template rendering RUN apk add --no-cache gettext # Copy nginx configuration template COPY nginx.conf.template /etc/nginx/nginx.conf.template COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh EXPOSE 8080 ENTRYPOINT ["/entrypoint.sh"] CMD ["nginx", "-g", "daemon off;"]