AlexVplle commited on
Commit
c9ef952
·
verified ·
1 Parent(s): 8f1c8b2

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ FROM python:3.9-slim
3
+
4
+ WORKDIR /app
5
+
6
+ COPY requirements.txt .
7
+ RUN pip install -r requirements.txt
8
+
9
+ COPY . .
10
+
11
+ # Fix permissions for writing model files
12
+ RUN chmod 777 /app
13
+
14
+ CMD ["python", "app.py"]