Shymaa2611 commited on
Commit ·
50ed584
1
Parent(s): 18d6b86
update
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -3,8 +3,11 @@ WORKDIR /app
|
|
| 3 |
|
| 4 |
COPY requirements.txt .
|
| 5 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
-
RUN mkdir -p /app/
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
|
|
|
|
| 3 |
|
| 4 |
COPY requirements.txt .
|
| 5 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
+
RUN mkdir -p /app/cache /app/nltk_data
|
| 7 |
+
ENV TRANSFORMERS_CACHE=/app/cache
|
| 8 |
+
ENV HF_HOME=/app/cache
|
| 9 |
+
ENV NLTK_DATA=/app/nltk_data
|
| 10 |
+
RUN chmod -R 777 /app/cache /app/nltk_data
|
| 11 |
|
| 12 |
COPY . .
|
| 13 |
|