From 5a5f7d076aafbb2ed0be26b94997460416d87543 Mon Sep 17 00:00:00 2001 From: phermeys <154031155+phermeys@users.noreply.github.com> Date: Sat, 23 Dec 2023 16:48:34 -0800 Subject: [PATCH] Create Dockerfile --- Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f42ab95 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +# Use an official Debian image +FROM debian:bullseye-slim + +# Install necessary packages +RUN apt-get update && \ + apt-get install -y apache2 && \ + rm -rf /var/lib/apt/lists/* + +# Create a directory to mount the SMB share +RUN mkdir /mnt/smb + +# Copy your Apache configuration files, HTML, PHP, or other site content +COPY apache-config.conf /etc/apache2/sites-available/000-default.conf +#COPY index.html /var/www/html/ + +# Expose Apache port +EXPOSE 80 + +# Entry point script to mount the SMB share and start Apache +COPY entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh + +ENTRYPOINT ["/entrypoint.sh"]