-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged dockerfiles, updated requirements and pinned them, updated to …
…python 3.11, fixed random and byname scrapers, deprecated docker-compose using docker compose instead,
- Loading branch information
Showing
18 changed files
with
144 additions
and
104 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 |
---|---|---|
|
@@ -6,5 +6,6 @@ __pycache__/ | |
.pytest_cache/ | ||
.vscode | ||
.dockerignore | ||
|
||
/data/companies.csv | ||
/data/output.csv | ||
/data/companies/ |
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 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 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,29 @@ | ||
# Use the base Python image | ||
FROM python:3.11 | ||
|
||
# Define the application directory | ||
ARG APP_HOME=/app | ||
WORKDIR ${APP_HOME} | ||
|
||
# Define a build argument to determine which environment to use | ||
ARG BUILD_ENV=production | ||
|
||
# Copy requirements folder and install the dependencies based on BUILD_ENV | ||
COPY ./requirements /requirements | ||
RUN pip install -r /requirements/${BUILD_ENV}.txt | ||
|
||
# Copy necessary startup scripts | ||
COPY ./compose/start /start | ||
RUN sed -i 's/\r$//g' /start && chmod +x /start | ||
|
||
COPY ./compose/start_companies /start_companies | ||
RUN sed -i 's/\r$//g' /start_companies && chmod +x /start_companies | ||
|
||
COPY ./compose/wait-for-selenium /wait-for-selenium | ||
RUN sed -i 's/\r$//g' /wait-for-selenium && chmod +x /wait-for-selenium | ||
|
||
# Copy the entire application code to the app directory | ||
COPY . ${APP_HOME} | ||
|
||
# Set the working directory | ||
WORKDIR ${APP_HOME} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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 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 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 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 @@ | ||
https://www.linkedin.com/company/google/ |
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 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 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 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 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 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,11 +1,14 @@ | ||
# Scrapy | ||
Scrapy==2.11.0 # https://github.com/scrapy/scrapy | ||
Scrapy==2.11.2 # https://github.com/scrapy/scrapy | ||
|
||
# Selenium | ||
selenium==4.10.0 # https://github.com/SeleniumHQ/selenium | ||
|
||
# Linkedin API library | ||
linkedin-api<3.0.0 | ||
linkedin-api==2.3.0 | ||
|
||
langchain # https://pypi.org/project/langchain/ | ||
openai # https://pypi.org/project/openai/ | ||
# langchain | ||
langchain==0.3.2 # https://pypi.org/project/langchain/ | ||
langchain-community==0.3.1 | ||
|
||
openai==1.51.0 # https://pypi.org/project/openai/ |
Oops, something went wrong.