diff --git a/Dockerfile b/Dockerfile index 6e8acef..3006261 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,11 @@ +# Use the official Nginx image as the base image FROM nginx:alpine + +# Copy the local files to the Nginx default directory COPY . /usr/share/nginx/html + +# Expose port 80 +EXPOSE 80 + +# Start Nginx when the container launches +CMD ["nginx", "-g", "daemon off;"]# Use the official Nginx image as the base image \ No newline at end of file