meg HF staff commited on
Commit
488fd5c
·
verified ·
1 Parent(s): 1621429

Adding WORKDIR again, randomly trying to add other directories.

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -15,6 +15,9 @@ ARG TARGETPLATFORM
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.
@@ -62,6 +65,8 @@ COPY ./entrypoint.sh /entrypoint.sh
62
  COPY ./pause_space.py /pause_space.py
63
  COPY ./parse_requests.py /parse_requests.py
64
  COPY ./runs /runs
 
 
65
  #RUN chmod 777 -R /runs
66
  RUN chmod +x /entrypoint.sh
67
 
 
15
 
16
  ENV PATH=/opt/conda/bin:$PATH
17
 
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.
 
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