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