Adi362 commited on
Commit
1060e51
·
verified ·
1 Parent(s): 14df17b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -1
Dockerfile CHANGED
@@ -3,13 +3,22 @@ FROM python:3.10-slim
3
  ENV PYTHONUNBUFFERED=1
4
  ENV HF_HOME=/tmp/huggingface
5
 
 
 
 
 
 
 
 
 
6
  WORKDIR /app
7
 
8
  COPY requirements.txt .
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
11
  COPY app.py .
 
12
 
13
  EXPOSE 7860
14
 
15
- CMD ["python", "app.py"]
 
3
  ENV PYTHONUNBUFFERED=1
4
  ENV HF_HOME=/tmp/huggingface
5
 
6
+
7
+ RUN apt-get update && apt-get install -y \
8
+ build-essential \
9
+ cmake \
10
+ gcc \
11
+ g++ \
12
+ && rm -rf /var/lib/apt/lists/*
13
+
14
  WORKDIR /app
15
 
16
  COPY requirements.txt .
17
  RUN pip install --no-cache-dir -r requirements.txt
18
 
19
  COPY app.py .
20
+ COPY model.gguf /model.gguf
21
 
22
  EXPOSE 7860
23
 
24
+ CMD ["python", "app.py"]