szoya commited on
Commit
6a2c178
·
verified ·
1 Parent(s): a605973

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile CHANGED
@@ -2,8 +2,16 @@ FROM python:3.10
2
 
3
  WORKDIR /app
4
 
 
 
 
 
 
 
 
5
  COPY requirements.txt .
6
 
 
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
  COPY . .
 
2
 
3
  WORKDIR /app
4
 
5
+ # Install system dependencies for sentencepiece
6
+ RUN apt-get update && apt-get install -y \
7
+ build-essential \
8
+ pkg-config \
9
+ libsentencepiece-dev \
10
+ && rm -rf /var/lib/apt/lists/*
11
+
12
  COPY requirements.txt .
13
 
14
+ RUN pip install --upgrade pip
15
  RUN pip install --no-cache-dir -r requirements.txt
16
 
17
  COPY . .