Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
Β·
ee03864
1
Parent(s):
a6b901d
Fix: force cache to /tmp to avoid permission errors
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
# π Use official Python
|
2 |
FROM python:3.11-slim
|
3 |
|
|
|
|
|
|
|
4 |
# Install wget
|
5 |
RUN apt-get update && apt-get install -y wget
|
6 |
|
|
|
1 |
# π Use official Python
|
2 |
FROM python:3.11-slim
|
3 |
|
4 |
+
ENV TRANSFORMERS_CACHE=/tmp
|
5 |
+
ENV HF_HOME=/tmp
|
6 |
+
|
7 |
# Install wget
|
8 |
RUN apt-get update && apt-get install -y wget
|
9 |
|