add : docker compose

This commit is contained in:
Sam
2026-01-15 10:32:36 +01:00
parent 11e9fa6b8b
commit 79f9a5d32d
2 changed files with 20 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -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

7
docker-compose.yml Normal file
View File

@@ -0,0 +1,7 @@
services:
blackdrop_html:
build: .
ports:
- "8080:80"
container_name: blackdrop_html
restart: unless-stopped