diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..edea7af --- /dev/null +++ b/.dockerignore @@ -0,0 +1,13 @@ +__pycache__/ +*.pyc +*.pyo +*.pyd +.Python +env/ +.venv/ +build/ +dist/ +.eggs/ +*.egg-info/ +.git/ +tests/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..db94c67 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.10-slim + +WORKDIR /app + +COPY . /app + +RUN pip install --upgrade pip \ + && pip install . \ + && apt-get clean + +ENTRYPOINT ["searchcode"] \ No newline at end of file diff --git a/README.md b/README.md index ed5e967..4a53c3c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -


Python SDK and CLI utility for Searchcode.
Search 75 billion lines of code from 40 million projects

+


Python SDK and CLI utility for Searchcode.
Simple, comprehensive code search.

---