Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -4,11 +4,13 @@ WORKDIR /code
|
|
4 |
|
5 |
ENV TRANSFORMERS_CACHE=/tmp/cache/huggingface
|
6 |
ENV HF_HOME=/tmp/huggingface-cache
|
|
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
RUN mkdir -p /tmp/cache/huggingface && chmod -R 777 /tmp/cache/huggingface
|
11 |
RUN mkdir -p /tmp/huggingface-cache && chmod -R 777 /tmp/huggingface-cache
|
|
|
12 |
|
13 |
RUN python3 -m pip install -U git+https://github.com/bluet/proxybroker2.git
|
14 |
RUN python3 -m pip install -U -I --no-deps --no-cache-dir https://github.com/mikf/gallery-dl/archive/master.tar.gz
|
|
|
4 |
|
5 |
ENV TRANSFORMERS_CACHE=/tmp/cache/huggingface
|
6 |
ENV HF_HOME=/tmp/huggingface-cache
|
7 |
+
ENV XDG_CACHE_HOME=/tmp/.cache
|
8 |
|
9 |
COPY ./requirements.txt /code/requirements.txt
|
10 |
|
11 |
RUN mkdir -p /tmp/cache/huggingface && chmod -R 777 /tmp/cache/huggingface
|
12 |
RUN mkdir -p /tmp/huggingface-cache && chmod -R 777 /tmp/huggingface-cache
|
13 |
+
RUN mkdir -p /tmp/.cache && chmod -R 777 /tmp/.cache
|
14 |
|
15 |
RUN python3 -m pip install -U git+https://github.com/bluet/proxybroker2.git
|
16 |
RUN python3 -m pip install -U -I --no-deps --no-cache-dir https://github.com/mikf/gallery-dl/archive/master.tar.gz
|