dl-server-3 / Dockerfile
motoe moto
Create Dockerfile
af90567 verified
raw
history blame contribute delete
456 Bytes
# 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"]