ayureasehealthcare commited on
Commit
f8bdf0c
·
verified ·
1 Parent(s): ab7c341

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -4,13 +4,15 @@ RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
4
 
5
  WORKDIR /app
6
 
 
 
 
 
7
  COPY ./app /app/app
8
  COPY ./app/requirements.txt /app/requirements.txt
9
 
10
- RUN mkdir -p /app/cache/huggingface # <-- Create writable cache directory
11
-
12
- RUN pip install --upgrade pip
13
- RUN pip install -r requirements.txt
14
 
15
  EXPOSE 7860
16
 
 
4
 
5
  WORKDIR /app
6
 
7
+ # Make cache directory
8
+ RUN mkdir -p /data/cache
9
+
10
+ # Copy code
11
  COPY ./app /app/app
12
  COPY ./app/requirements.txt /app/requirements.txt
13
 
14
+ # Install dependencies
15
+ RUN pip install --upgrade pip && pip install -r /app/requirements.txt
 
 
16
 
17
  EXPOSE 7860
18