File size: 456 Bytes
af90567
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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"]