Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -2,6 +2,10 @@ FROM python:3.9-slim
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
|
|
|
|
|
|
5 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
6 |
build-essential gcc \
|
7 |
&& apt-get clean \
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
RUN mkdir -p /tmp/transformers_cache
|
6 |
+
|
7 |
+
ENV TRANSFORMERS_CACHE /tmp/transformers_cache
|
8 |
+
|
9 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
10 |
build-essential gcc \
|
11 |
&& apt-get clean \
|