first_commit
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
from python:3.8
|
||||
|
||||
workdir /srv
|
||||
|
||||
RUN pip3 install setuptools_scm
|
||||
|
||||
RUN pip3 install elasticsearch
|
||||
RUN pip3 install scrapy
|
||||
COPY requirements.txt .
|
||||
RUN pip3 install -r requirements.txt
|
||||
COPY scrapy.cfg .
|
||||
|
||||
COPY html_scrapy ./html_scrapy
|
||||
COPY searching ./searching
|
||||
CMD ls && scrapy crawl legacy_spider
|
||||
#spider html_scrapy/spiders/legacy_spider.py
|
||||
Reference in New Issue
Block a user