MsChabane commited on
Commit
556c1f3
·
verified ·
1 Parent(s): 74ace95

commit docker

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -1,9 +1,13 @@
1
  FROM python:3.10
2
 
 
 
3
  WORKDIR /app
4
 
5
  COPY . .
6
 
 
 
7
  RUN pip install --upgrade pip
8
  RUN pip install -r requirements.txt
9
 
 
1
  FROM python:3.10
2
 
3
+ RUN mkdir -p /app/models && chmod -R 777 /app/models
4
+
5
  WORKDIR /app
6
 
7
  COPY . .
8
 
9
+ ENV HF_HOME=/app/models
10
+
11
  RUN pip install --upgrade pip
12
  RUN pip install -r requirements.txt
13