# Use the solipsist01/rapidleech image as the base FROM solipsist01/rapidleech:latest # Install necessary tools to modify configuration RUN apt-get update && apt-get install -y nano # Modify the Apache configuration to listen on port 7860 RUN sed -i 's/80/7860/g' /etc/apache2/ports.conf RUN sed -i 's/80/7860/g' /etc/apache2/sites-available/000-default.conf # Expose the new port EXPOSE 7860 # Start Apache in the foreground CMD ["apache2-foreground"]