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