diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..60408d1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM ubuntu +LABEL maintainer="ROHAN RUSTAGI" +RUN apt update -y +RUN apt install nginx -y +COPY . /var/www/html +EXPOSE 80 +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/ReadMe.md b/ReadMe.md index 3def838..10ef1a4 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -191,4 +191,12 @@ All the YouTube Videos that are related to this project are listed in chronologi 3. [Cats in Tech GitHub ReadMe Project Information](https://youtu.be/JfUWUF-mq6k?list=PLO_Y0rsm7b3bengFlB69pxuQcl9vmGmhk) 4. Steps to Start with Open Source through GSSoC ’23 (WIP) 5. How to get the best out of GSSoC ’23 (WIP) -6. Contribution Instructions for First Timers (WIP) \ No newline at end of file +6. Contribution Instructions for First Timers (WIP) + + +## Command to BUILD and RUN dockerized website + + +### `docker build -t .` + +### `docker run -d -p 80:80 `