Damien Benveniste commited on
Commit
494ceb5
·
1 Parent(s): 23d2d9c
Files changed (2) hide show
  1. Dockerfile +8 -9
  2. entrypoint.sh +1 -1
Dockerfile CHANGED
@@ -2,17 +2,16 @@
2
  FROM vllm/vllm-openai:latest
3
 
4
  # Install debugging tools
5
- RUN apt-get update && apt-get install -y procps vim
6
 
7
  # Set environment variables
8
- ENV HUGGING_FACE_HUB_TOKEN="your_hf_token_here"
9
- ENV HF_HOME="/tmp/huggingface"
10
- ENV XDG_CACHE_HOME="/tmp/cache"
11
- ENV NUMBA_CACHE_DIR="/tmp/numba_cache"
12
- ENV OUTLINES_CACHE_DIR="/tmp/outlines_cache"
13
- ENV VLLM_USE_MODELSCOPE="false"
14
- ENV VLLM_DISABLE_USAGE_STATS="true"
15
- ENV XDG_CONFIG_HOME="/tmp/config"
16
 
17
  # Ensure PATH includes common Python locations
18
  ENV PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$PATH"
 
2
  FROM vllm/vllm-openai:latest
3
 
4
  # Install debugging tools
5
+ # RUN apt-get update && apt-get install -y procps vim
6
 
7
  # Set environment variables
8
+ # ENV HF_HOME="/tmp/huggingface"
9
+ # ENV XDG_CACHE_HOME="/tmp/cache"
10
+ # ENV NUMBA_CACHE_DIR="/tmp/numba_cache"
11
+ # ENV OUTLINES_CACHE_DIR="/tmp/outlines_cache"
12
+ # ENV VLLM_USE_MODELSCOPE="false"
13
+ # ENV VLLM_DISABLE_USAGE_STATS="true"
14
+ # ENV XDG_CONFIG_HOME="/tmp/config"
 
15
 
16
  # Ensure PATH includes common Python locations
17
  ENV PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$PATH"
entrypoint.sh CHANGED
@@ -13,7 +13,7 @@ ENFORCE_EAGER=${ENFORCE_EAGER:-true}
13
  export VLLM_DISABLE_USAGE_STATS=true
14
 
15
  # Check and set permissions for directories
16
- for dir in /tmp/huggingface /tmp/cache /tmp/numba_cache /tmp/outlines_cache /.config /tmp/config; do
17
  if [ ! -d "$dir" ]; then
18
  mkdir -p "$dir"
19
  fi
 
13
  export VLLM_DISABLE_USAGE_STATS=true
14
 
15
  # Check and set permissions for directories
16
+ for dir in /tmp/huggingface /tmp/cache /tmp/numba_cache /tmp/outlines_cache /tmp/config; do
17
  if [ ! -d "$dir" ]; then
18
  mkdir -p "$dir"
19
  fi