Spaces:
Runtime error
Runtime error
Trying to make /data and /.cache directories appear, and have the content that the logs say is being written out to it.
Browse files- Dockerfile +6 -4
Dockerfile
CHANGED
|
@@ -15,11 +15,13 @@ ARG TARGETPLATFORM
|
|
| 15 |
|
| 16 |
ENV PATH=/opt/conda/bin:$PATH
|
| 17 |
|
| 18 |
-
RUN mkdir
|
| 19 |
-
RUN mkdir data
|
| 20 |
# I'm not sure how to allow later python files used here to write to .cache without making it world-writeable.
|
| 21 |
-
RUN chmod 777 -R
|
| 22 |
-
RUN chmod 777 -R data
|
|
|
|
|
|
|
| 23 |
|
| 24 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
| 25 |
build-essential \
|
|
|
|
| 15 |
|
| 16 |
ENV PATH=/opt/conda/bin:$PATH
|
| 17 |
|
| 18 |
+
RUN mkdir -p /.cache
|
| 19 |
+
RUN mkdir -p /data
|
| 20 |
# I'm not sure how to allow later python files used here to write to .cache without making it world-writeable.
|
| 21 |
+
RUN chmod 777 -R /.cache
|
| 22 |
+
RUN chmod 777 -R /data
|
| 23 |
+
|
| 24 |
+
WORKDIR /data
|
| 25 |
|
| 26 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
| 27 |
build-essential \
|