IamVicky111 commited on
Commit
9acf126
·
verified ·
1 Parent(s): bbad36e

Update app.Dockerfile

Browse files
Files changed (1) hide show
  1. app.Dockerfile +5 -9
app.Dockerfile CHANGED
@@ -2,19 +2,15 @@ FROM huggingface/transformers:latest
2
 
3
  RUN apt-get update && apt-get install -y --no-install-recommends \
4
  build-essential \
5
- libomp5-dev \
6
  libopenblas-dev \
7
  python3-dev \
8
  wget \
9
- curl \
10
- libnvidia-cuda-dev
11
-
12
- RUN pip install --no-cache-dir transformers
13
- RUN pip install --no-cache-dir torch torchvision torchaudio
14
-
15
 
16
  WORKDIR /app
17
 
18
  COPY requirements.txt .
19
- RUN pip install -r requirements.txt # Install additional dependencies
20
- COPY . .
 
 
2
 
3
  RUN apt-get update && apt-get install -y --no-install-recommends \
4
  build-essential \
5
+ libomp5 \
6
  libopenblas-dev \
7
  python3-dev \
8
  wget \
9
+ curl
 
 
 
 
 
10
 
11
  WORKDIR /app
12
 
13
  COPY requirements.txt .
14
+ RUN pip install --no-cache-dir -r requirements.txt # Install dependencies from requirements.txt
15
+
16
+ COPY . .