Spaces:
Running
Running
Commit ·
9fb636f
1
Parent(s): 278db54
fix: install build-essential for llama-cpp-python build
Browse files- Dockerfile +7 -1
Dockerfile
CHANGED
|
@@ -1,7 +1,13 @@
|
|
| 1 |
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 |
COPY code-review-env/requirements.txt /app/code-review-env/requirements.txt
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
COPY code-review-env /app/code-review-env
|
|
|
|
| 1 |
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
|