site-library/systems/Dockerfile
2025-03-08 21:04:49 +01:00

21 lines
413 B
Docker

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"]