meg HF staff commited on
Commit
810cff4
·
verified ·
1 Parent(s): 38b2415

Adding requests parser to Dockerfile.

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -47,10 +47,9 @@ RUN git clone -b energy_star_dev https://github.com/huggingface/optimum-benchmar
47
  COPY ./check_h100.py /check_h100.py
48
  COPY ./entrypoint.sh /entrypoint.sh
49
  COPY ./pause_space.py /pause_space.py
 
50
  COPY ./runs /runs
51
- COPY ./.cache /.cache
52
  RUN chmod 777 -R /runs
53
- RUN chmod 777 -R /.cache
54
  RUN chmod +x /entrypoint.sh
55
 
56
  # Expose the secret DEBUG at buildtime and use its value as git remote URL
@@ -58,6 +57,4 @@ RUN --mount=type=secret,id=DEBUG,mode=0444,required=true \
58
  git init && \
59
  git remote add origin $(cat /run/secrets/DEBUG)
60
 
61
- ENTRYPOINT ["/entrypoint.sh"]
62
-
63
- CMD ["/entrypoint.sh"]
 
47
  COPY ./check_h100.py /check_h100.py
48
  COPY ./entrypoint.sh /entrypoint.sh
49
  COPY ./pause_space.py /pause_space.py
50
+ COPY ./parse_requests.py /parse_requests.py
51
  COPY ./runs /runs
 
52
  RUN chmod 777 -R /runs
 
53
  RUN chmod +x /entrypoint.sh
54
 
55
  # Expose the secret DEBUG at buildtime and use its value as git remote URL
 
57
  git init && \
58
  git remote add origin $(cat /run/secrets/DEBUG)
59
 
60
+ ENTRYPOINT ["/entrypoint.sh"]