Arabic250 commited on
Commit
aaf422a
·
verified ·
1 Parent(s): d47a382

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ RUN apt-get update && apt-get install -y build-essential python3-dev
4
+
5
+ WORKDIR /app
6
+
7
+ RUN pip install --no-cache-dir gradio llama-cpp-python huggingface_hub
8
+
9
+ COPY . .
10
+
11
+ EXPOSE 7860
12
+ ENV GRADIO_SERVER_NAME="0.0.0.0"
13
+
14
+ CMD ["python", "app.py"]