Skip to content

Commit

Permalink
Updated Docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleem2 committed Nov 21, 2023
1 parent 8deab8b commit 9e08939
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions Dockerfile
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

0 comments on commit 9e08939

Please sign in to comment.