From 79f9a5d32d2b1394f9e4cad63fbd8fe46640e327 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 15 Jan 2026 10:32:36 +0100 Subject: [PATCH] add : docker compose --- Dockerfile | 13 +++++++++++++ docker-compose.yml | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e106dda --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +# Use official nginx image as base +FROM nginx:alpine + +# Copy static site files to nginx html directory +COPY index.html /usr/share/nginx/html/index.html +COPY styles.css /usr/share/nginx/html/styles.css +COPY script.js /usr/share/nginx/html/script.js +#COPY cv_goutenoir.pdf /usr/share/nginx/html/cv_goutenoir.pdf + +# Expose port 80 +EXPOSE 80 + +# No CMD needed, nginx runs by default diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8a41ede --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +services: + blackdrop_html: + build: . + ports: + - "8080:80" + container_name: blackdrop_html + restart: unless-stopped