-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
FROM python:3.12.0 | ||
|
||
# Installing web scraping tool | ||
RUN pip3 install --upgrade pip | ||
RUN pip install Scrapy==2.11.0 # web scraping tool | ||
RUN pip install ipython==8.17.2 # ipython makes scrapy shell interactive with autocomplete and help | ||
RUN pip install Scrapy==2.11.0 | ||
|
||
# Vi editor to create python files and manupilate web scraping | ||
RUN pip install ipython==8.17.2 | ||
RUN apt update | ||
RUN apt install -y vim # simple editor to create scrapy spiders files | ||
|
||
# Simple editor to create scrapy spiders files | ||
RUN apt install -y vim | ||
EXPOSE 80/tcp | ||
COPY . . | ||
|
||
# Changing container directory to home. | ||
WORKDIR /home # Changing working directory to home | ||
|
||
# Copying license, citation.cff and readme files to home directory | ||
COPY . /home |