adAstra144 commited on
Commit
a9f37f0
·
verified ·
1 Parent(s): fa92999

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt .
6
+ RUN pip install -r requirements.txt
7
+
8
+ COPY . .
9
+
10
+ # Set Hugging Face cache directory to a writable location
11
+ ENV TRANSFORMERS_CACHE=/tmp/hf_cache
12
+ ENV HF_HOME=/tmp/hf_cache
13
+
14
+ CMD ["python", "app.py"]