Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
WORKDIR /app
|
| 3 |
COPY . /app
|
|
|
|
| 4 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
ENV GEMINI_API_KEY=${GEMINI_API_KEY}
|
| 6 |
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
|
|
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
WORKDIR /app
|
| 3 |
COPY . /app
|
| 4 |
+
RUN apt-get update && apt-get install -y build-essential libatlas-base-dev && rm -rf /var/lib/apt/lists/*
|
| 5 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
ENV GEMINI_API_KEY=${GEMINI_API_KEY}
|
| 7 |
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
|