Athmabhiram1 commited on
Commit
22d765e
·
1 Parent(s): 9fb636f

build: slim space dependencies and docker install

Browse files
Dockerfile CHANGED
@@ -2,14 +2,10 @@ FROM python:3.11-slim
2
 
3
  WORKDIR /app/code-review-env
4
  RUN apt-get update && apt-get install -y --no-install-recommends \
5
- build-essential \
6
- git \
7
- curl \
8
  nodejs \
9
- npm \
10
  && rm -rf /var/lib/apt/lists/*
11
- COPY code-review-env/requirements.txt /app/code-review-env/requirements.txt
12
- RUN pip install --no-cache-dir -r requirements.txt
13
  COPY code-review-env /app/code-review-env
14
 
15
  ENV GRAPHREVIEW_SOURCE_ROOT=/app/code-review-env/sample_project
 
2
 
3
  WORKDIR /app/code-review-env
4
  RUN apt-get update && apt-get install -y --no-install-recommends \
 
 
 
5
  nodejs \
 
6
  && rm -rf /var/lib/apt/lists/*
7
+ COPY code-review-env/requirements.space.txt /app/code-review-env/requirements.space.txt
8
+ RUN pip install --no-cache-dir -r requirements.space.txt
9
  COPY code-review-env /app/code-review-env
10
 
11
  ENV GRAPHREVIEW_SOURCE_ROOT=/app/code-review-env/sample_project
code-review-env/requirements.space.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sqlmodel>=0.0.24
2
+ sqlalchemy-libsql>=0.2.0
3
+ networkx>=3.2
4
+ pydantic>=2.7
5
+ pylint>=3.2
6
+ bandit>=1.7
7
+ pyright>=1.1.390
8
+ pyre-check>=0.9.23
9
+ radon>=6.0
10
+ fastapi>=0.115
11
+ uvicorn>=0.30
12
+ openenv>=0.1.13
13
+ openai>=1.40
14
+ pyvis>=0.3.2
15
+ huggingface_hub>=0.31