itriedcoding commited on
Commit
98525d8
·
verified ·
1 Parent(s): 420fae1

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN pip install --no-cache-dir gradio==4.31.0 torch>=2.0.0 tokenizers>=0.15.0 huggingface_hub>=0.20.0
6
+
7
+ COPY app.py /app/
8
+ COPY requirements.txt /app/
9
+
10
+ CMD ["python", "app.py"]