From 5b488a9985242eb61f2e94602615e8e35782e454 Mon Sep 17 00:00:00 2001 From: Ritchie Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Fri, 9 May 2025 23:00:46 +0200 Subject: [PATCH 1/2] Dockerisegit push --- .dockerignore | 13 +++++++++++++ Dockerfile | 11 +++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile 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 From 88d9c77883834c8c7494a6af34351a359fe4871a Mon Sep 17 00:00:00 2001 From: Ritchie Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Fri, 9 May 2025 23:03:14 +0200 Subject: [PATCH 2/2] Dockerise --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.