Spaces:
Sleeping
Sleeping
Upload Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -4,7 +4,8 @@ WORKDIR /app
|
|
| 4 |
|
| 5 |
COPY . /app
|
| 6 |
|
| 7 |
-
|
|
|
|
| 8 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
| 9 |
|
| 10 |
ENV USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
|
|
|
|
| 4 |
|
| 5 |
COPY . /app
|
| 6 |
|
| 7 |
+
RUN mkdir -p /app/index_local && chmod -R 777 /app/index_local
|
| 8 |
+
|
| 9 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
| 10 |
|
| 11 |
ENV USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
|