Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #111

Merged
merged 3 commits into from
Oct 4, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(PATCH): Add Dockerfile for system independent builds
  • Loading branch information
jpwahle committed Oct 4, 2022
commit 038733ca08aa9269397d9409a2db904b66fff430
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ jobs:
- name: 🧪 Run tests
run: |
poetry run poe alltest

- name: 🐳 Build docker image
run: docker build .
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM python:3.8

WORKDIR /cs-insights-crawler
COPY . /cs-insights-crawler

RUN apt-get update && apt-get install liblapack-dev libblas-dev gfortran python3-venv -y
RUN pip install poetry
RUN poetry install --no-dev

CMD [ "poetry", "run", "cli", "main", "--s2_use_papers", "--s2_use_abstracts", "--s2_use_authors", "--s2_filter_dblp" ]