CHANGE: Last iteration with Gemini. It's a bit dumb :D

This commit is contained in:
2025-08-27 10:34:59 +02:00
parent 4019b8d40d
commit 3baab8ae87
2 changed files with 76 additions and 415 deletions

View File

@@ -1,8 +1,13 @@
# Use the official Nginx image from Docker Hub
# Use the official lightweight Nginx image
FROM nginx:alpine
# Copy index.html to the default Nginx public folder
COPY index.html /usr/share/nginx/html/
# Set the working directory inside the container
WORKDIR /usr/share/nginx/html
# Listen on port 80
# Copy all project files from the build context to the working directory
# The '.' means 'copy everything from the current folder (my-portfolio)'
# into the WORKDIR of the container. This is the key fix.
COPY . .
# Expose port 80 to the Docker host
EXPOSE 80