AMRUTHA12092002 commited on
Commit
f23bc1e
·
verified ·
1 Parent(s): 8d4e0d0

Create dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +24 -0
dockerfile ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y --no-install-recommends \
6
+ build-essential \
7
+ && rm -rf /var/lib/apt/lists/*
8
+
9
+ RUN pip install --no-cache-dir \
10
+ "huggingface_hub==0.29.3" \
11
+ "gradio==4.44.1" \
12
+ "transformers==4.33.3" \
13
+ "tokenizers==0.13.3" \
14
+ torch \
15
+ pandas \
16
+ numpy \
17
+ scikit-learn \
18
+ scipy
19
+
20
+ COPY app.py .
21
+
22
+ EXPOSE 7860
23
+
24
+ CMD ["python", "app.py"]