AjaykumarPilla commited on
Commit
c0cb683
·
verified ·
1 Parent(s): 76bfb32

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -2,7 +2,7 @@ FROM python:3.9-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies
6
  RUN apt-get update && apt-get install -y \
7
  libgomp1 \
8
  gcc \
@@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y \
11
 
12
  # Install Python dependencies
13
  COPY requirements.txt .
14
- RUN pip install --no-cache-dir -r requirements.txt && pip cache purge
15
 
16
  # Copy application files
17
  COPY . .
 
2
 
3
  WORKDIR /app
4
 
5
+ # Install system dependencies for torch, matplotlib, and transformers
6
  RUN apt-get update && apt-get install -y \
7
  libgomp1 \
8
  gcc \
 
11
 
12
  # Install Python dependencies
13
  COPY requirements.txt .
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
 
16
  # Copy application files
17
  COPY . .