Spaces:
Runtime error
Runtime error
Adding 'data' directory to Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -16,8 +16,10 @@ ARG TARGETPLATFORM
|
|
16 |
ENV PATH=/opt/conda/bin:$PATH
|
17 |
|
18 |
RUN mkdir .cache
|
|
|
19 |
# I'm not sure how to allow later python files used here to write to .cache without making it world-writeable.
|
20 |
RUN chmod 777 -R .cache
|
|
|
21 |
|
22 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
23 |
build-essential \
|
|
|
16 |
ENV PATH=/opt/conda/bin:$PATH
|
17 |
|
18 |
RUN mkdir .cache
|
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 .cache
|
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 \
|