FROM debian:buster # Install Apache, Midnight Commander, OpenSSH server and other dependencies RUN apt-get update && apt-get install -y \ apache2 \ mc # Enable required Apache modules # Create directory structure RUN mkdir -p /var/www/html # Set permissions RUN chown -R www-data:www-data /var/www/html # Expose ports EXPOSE 80 443 # Start Apache in foreground CMD ["apachectl", "-D", "FOREGROUND"]