This repository has been archived on 2025-12-24. You can view files and clone it, but cannot push or open issues or pull requests.
site-template/systems/Dockerfile
2025-03-07 14:59:06 +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"]