Leri777 commited on
Commit
bea7c1f
1 Parent(s): 70aeb64

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -12
Dockerfile CHANGED
@@ -1,22 +1,15 @@
1
- FROM python:3.10.13-slim
2
 
3
- WORKDIR /home/user/app
4
 
5
  RUN apt-get update && apt-get install -y \
6
  git \
7
- ffmpeg \
8
- libsm6 \
9
- libxext6 \
10
- cmake \
11
- rsync \
12
  && rm -rf /var/lib/apt/lists/*
13
 
14
- COPY requirements.txt /tmp/requirements.txt
15
- RUN pip install --no-cache-dir -r /tmp/requirements.txt
16
 
17
- RUN FLASH_ATTENTION_SKIP_CUDA_BUILD=TRUE pip install flash-attn --no-build-isolation
18
-
19
- COPY . /home/user/app
20
 
21
  ENV HF_TOKEN=${HF_TOKEN}
22
 
 
1
+ FROM python:3.10-slim
2
 
3
+ WORKDIR /app
4
 
5
  RUN apt-get update && apt-get install -y \
6
  git \
 
 
 
 
 
7
  && rm -rf /var/lib/apt/lists/*
8
 
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
 
12
+ COPY . .
 
 
13
 
14
  ENV HF_TOKEN=${HF_TOKEN}
15