diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..58eaf0d --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +.git/ +*.png +local_webscrapping.py +Procfile +webscrapping_test1.py diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..daa81c8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +# base image +FROM python:3.10-alpine + +# sets the working directory inside the container +WORKDIR /rubot + +# copies required files from the host machine into the container +COPY ./requirements.txt . +COPY ./Twitter-Bot/rubot.py . + +# runs the command to install dependencies +RUN pip install -r requirements.txt + +# command that will run when the container starts +CMD [ "python", "./rubot.py" ] diff --git a/README.md b/README.md new file mode 100644 index 0000000..e38fe60 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# RuBot + +Applying Web-Scraping to retrieve information from UFES's cafeteria menu, facilitating the acess to such information.