Spaces:
Sleeping
Sleeping
update docker
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -22,6 +22,7 @@ RUN python -m nltk.downloader -d /app/nltk_data punkt wordnet
|
|
22 |
# Set environment variables
|
23 |
ENV NLTK_DATA=/app/nltk_data
|
24 |
ENV HF_HOME=/app/.huggingface_cache
|
|
|
25 |
|
26 |
# Change ownership of directories to the non-root user
|
27 |
RUN chown -R nobody:nogroup /app/nltk_data /app/.huggingface_cache /app
|
|
|
22 |
# Set environment variables
|
23 |
ENV NLTK_DATA=/app/nltk_data
|
24 |
ENV HF_HOME=/app/.huggingface_cache
|
25 |
+
ENV TRANSFORMERS_CACHE=/app/.huggingface_cache
|
26 |
|
27 |
# Change ownership of directories to the non-root user
|
28 |
RUN chown -R nobody:nogroup /app/nltk_data /app/.huggingface_cache /app
|