lihe07 commited on
Commit
4ec9a3b
·
verified ·
1 Parent(s): d71bad3

span-02: single-source release folder (engine final path, soft blend)

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -23,6 +23,8 @@ RUN apt-get update -qq && apt-get install -y -qq python3 python3-venv ca-certifi
23
  && python3 -m venv /opt/hf && /opt/hf/bin/pip install -q huggingface_hub hf_transfer
24
  ENV PATH=/opt/hf/bin:$PATH HF_HUB_ENABLE_HF_TRANSFER=1 DLLM_DATA=/data/dllm PORT=8000
25
  COPY --from=build /usr/local/bin/dllm-server /usr/local/bin/dllm-server
 
26
  COPY launch.sh /usr/local/bin/dllm-launch
 
27
  EXPOSE 8000
28
- ENTRYPOINT ["/usr/local/bin/dllm-launch"]
 
23
  && python3 -m venv /opt/hf && /opt/hf/bin/pip install -q huggingface_hub hf_transfer
24
  ENV PATH=/opt/hf/bin:$PATH HF_HUB_ENABLE_HF_TRANSFER=1 DLLM_DATA=/data/dllm PORT=8000
25
  COPY --from=build /usr/local/bin/dllm-server /usr/local/bin/dllm-server
26
+ # the Hub does not store the executable bit, so set it here (and run through bash, as the shebang says)
27
  COPY launch.sh /usr/local/bin/dllm-launch
28
+ RUN chmod 755 /usr/local/bin/dllm-launch
29
  EXPOSE 8000
30
+ ENTRYPOINT ["/bin/bash", "/usr/local/bin/dllm-launch"]