motoe moto commited on
Commit
a6197aa
·
verified ·
1 Parent(s): b9be192

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the solipsist01/rapidleech image as the base
2
+ FROM solipsist01/rapidleech:latest
3
+
4
+ # Install necessary tools to modify configuration
5
+ RUN apt-get update && apt-get install -y nano
6
+
7
+ # Modify the Apache configuration to listen on port 7860
8
+ RUN sed -i 's/80/7860/g' /etc/apache2/ports.conf
9
+ RUN sed -i 's/80/7860/g' /etc/apache2/sites-available/000-default.conf
10
+
11
+ # Expose the new port
12
+ EXPOSE 7860
13
+
14
+ # Start Apache in the foreground
15
+ CMD ["apache2-foreground"]