E-Hospital commited on
Commit
446a113
1 Parent(s): 3b104d0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -4,6 +4,8 @@ WORKDIR /code
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
 
 
7
  RUN mkdir ./.cache
8
 
9
  RUN mkdir /.cache
@@ -12,7 +14,9 @@ RUN mkdir /.cache/huggingface
12
 
13
  RUN mkdir /.cache/huggingface/hub
14
 
15
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
 
16
 
17
  COPY . .
18
 
 
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
+
9
  RUN mkdir ./.cache
10
 
11
  RUN mkdir /.cache
 
14
 
15
  RUN mkdir /.cache/huggingface/hub
16
 
17
+ RUN mkdir /.cache/huggingface/hub/models--E-Hospital--open-orca-platypus-2-lora-medical
18
+
19
+ RUN mkdir -p /.cache && chmod -R 777 /.cache
20
 
21
  COPY . .
22