1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-04 03:48:55 +02:00
This commit is contained in:
kev 2015-06-20 17:04:33 +08:00
parent 2002a7df31
commit 189033aa6e

View File

@ -47,7 +47,7 @@ class StackOverflowSpider(scrapy.Spider):
}
_EOF_
$ docker run --rm --name scrapy -v `pwd`:/code -w /code vimagick/scrapyd bash
$ docker run -it --rm -v `pwd`:/code -w /code vimagick/scrapyd bash
>>> scrapy runspider stackoverflow_spider.py -o top-stackoverflow-questions.json
>>> cat top-stackoverflow-questions.json
>>> exit