Spaces:
Runtime error
Runtime error
I have no clue how the creation of directories, and writing into them, is working.
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
|
@@ -18,11 +18,11 @@ ENV PATH=/opt/conda/bin:$PATH
|
|
| 18 |
WORKDIR /app
|
| 19 |
COPY . /app
|
| 20 |
|
| 21 |
-
RUN mkdir -p .cache
|
| 22 |
-
RUN mkdir -p data
|
| 23 |
# I'm not sure how to allow later python files used here to write to .cache without making it world-writeable.
|
| 24 |
-
RUN chmod 777 -R .cache
|
| 25 |
-
RUN chmod 777 -R data
|
| 26 |
|
| 27 |
|
| 28 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
@@ -65,8 +65,8 @@ COPY ./entrypoint.sh /entrypoint.sh
|
|
| 65 |
COPY ./pause_space.py /pause_space.py
|
| 66 |
COPY ./parse_requests.py /parse_requests.py
|
| 67 |
COPY ./runs /runs
|
| 68 |
-
COPY ./data /data
|
| 69 |
-
COPY ./.cache /.cache
|
| 70 |
#RUN chmod 777 -R /runs
|
| 71 |
RUN chmod +x /entrypoint.sh
|
| 72 |
|
|
|
|
| 18 |
WORKDIR /app
|
| 19 |
COPY . /app
|
| 20 |
|
| 21 |
+
#RUN mkdir -p .cache
|
| 22 |
+
#RUN mkdir -p data
|
| 23 |
# I'm not sure how to allow later python files used here to write to .cache without making it world-writeable.
|
| 24 |
+
#RUN chmod 777 -R .cache
|
| 25 |
+
#RUN chmod 777 -R data
|
| 26 |
|
| 27 |
|
| 28 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
|
|
| 65 |
COPY ./pause_space.py /pause_space.py
|
| 66 |
COPY ./parse_requests.py /parse_requests.py
|
| 67 |
COPY ./runs /runs
|
| 68 |
+
#COPY ./data /data
|
| 69 |
+
#COPY ./.cache /.cache
|
| 70 |
#RUN chmod 777 -R /runs
|
| 71 |
RUN chmod +x /entrypoint.sh
|
| 72 |
|