Spaces:
Sleeping
Sleeping
manhteky123
commited on
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
# Use the official Python image from the Docker Hub
|
2 |
FROM python:3.9-slim
|
3 |
|
|
|
|
|
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
6 |
|
|
|
1 |
# Use the official Python image from the Docker Hub
|
2 |
FROM python:3.9-slim
|
3 |
|
4 |
+
# Set the environment variable for cache directory
|
5 |
+
ENV TRANSFORMERS_CACHE=/tmp/huggingface_cache
|
6 |
+
|
7 |
# Set the working directory in the container
|
8 |
WORKDIR /app
|
9 |
|