Skip to content

Commit 5b488a9

Browse files
committed
Dockerisegit push
1 parent b0c9346 commit 5b488a9

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

.dockerignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
__pycache__/
2+
*.pyc
3+
*.pyo
4+
*.pyd
5+
.Python
6+
env/
7+
.venv/
8+
build/
9+
dist/
10+
.eggs/
11+
*.egg-info/
12+
.git/
13+
tests/

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM python:3.10-slim
2+
3+
WORKDIR /app
4+
5+
COPY . /app
6+
7+
RUN pip install --upgrade pip \
8+
&& pip install . \
9+
&& apt-get clean
10+
11+
ENTRYPOINT ["searchcode"]

0 commit comments

Comments
 (0)