ariG23498 HF staff commited on
Commit
ebec6aa
·
verified ·
1 Parent(s): 469c54d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -7
Dockerfile CHANGED
@@ -11,14 +11,15 @@ RUN apt-get update && apt-get install -y \
11
  RUN useradd -m -u 1000 user
12
  WORKDIR /app
13
 
14
- # Copy requirements file
15
- COPY --chown=user ./requirements.txt requirements.txt
16
-
17
- # Install dependencies from source
18
  RUN pip install --no-cache-dir --upgrade pip && \
19
- pip install --no-cache-dir git+https://github.com/huggingface/transformers && \
20
- pip install --no-cache-dir flash-attn && \
21
- pip install --no-cache-dir -r requirements.txt
 
 
 
 
22
 
23
  # Copy application files
24
  COPY --chown=user . /app
 
11
  RUN useradd -m -u 1000 user
12
  WORKDIR /app
13
 
14
+ # Install Python dependencies directly
 
 
 
15
  RUN pip install --no-cache-dir --upgrade pip && \
16
+ pip install --no-cache-dir \
17
+ git+https://github.com/huggingface/transformers \
18
+ flash-attn \
19
+ qwen-vl-utils[decord]==0.0.8 \
20
+ fastapi \
21
+ uvicorn[standard] \
22
+ torch
23
 
24
  # Copy application files
25
  COPY --chown=user . /app