forked from eracle/linkedin
-
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.
fixing eracle#6: listing only main requirements, renaming the docker …
…folder, updating the dockerfile and using a docker volume instead of copying the project codebase
- Loading branch information
Showing
5 changed files
with
21 additions
and
39 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM python:3.6 | ||
|
||
# Requirements are installed here to ensure they will be cached. | ||
COPY ./requirements /requirements | ||
RUN pip install -r /requirements/production.txt | ||
|
||
WORKDIR /app |
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
This file was deleted.
Oops, something went wrong.
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,30 +1 @@ | ||
asn1crypto==0.24.0 | ||
attrs==18.2.0 | ||
Automat==0.7.0 | ||
cffi==1.11.5 | ||
constantly==15.1.0 | ||
cryptography==2.3.1 | ||
cssselect==1.0.3 | ||
hyperlink==18.0.0 | ||
idna==2.7 | ||
incremental==17.5.0 | ||
lxml==4.2.4 | ||
parsel==1.5.0 | ||
pluggy==0.7.1 | ||
py==1.6.0 | ||
pyasn1==0.4.4 | ||
pyasn1-modules==0.2.2 | ||
pycparser==2.18 | ||
PyDispatcher==2.0.5 | ||
pyOpenSSL==18.0.0 | ||
pytest==3.7.4 | ||
pytest-sugar==0.9.1 | ||
queuelib==1.5.0 | ||
Scrapy==1.5.1 | ||
selenium==3.14.0 | ||
service-identity==17.0.0 | ||
six==1.11.0 | ||
termcolor==1.1.0 | ||
Twisted==18.7.0 | ||
w3lib==1.19.0 | ||
zope.interface==4.5.0 | ||
-r requirements/production.txt |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Scrapy | ||
Scrapy>=1.5.1 # pyup: < 2.0 # https://github.com/scrapy/scrapy | ||
|
||
# Selenium | ||
selenium>=3.14.0 # pyup: < 4.0 # https://github.com/SeleniumHQ/selenium | ||
|
||
# Testing | ||
# todo: move them to a dedicated req file | ||
pytest==3.7.4 | ||
pytest-sugar==0.9.1 |