amine_dubs
commited on
Commit
·
5404374
1
Parent(s):
dad479e
Remove unavailable sentencepiece-dev from Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -5,8 +5,10 @@ FROM python:3.13-alpine
|
|
5 |
# All subsequent commands (COPY, RUN, CMD) use this path
|
6 |
WORKDIR /app
|
7 |
|
8 |
-
# Install system dependencies including Rust, build tools, pkgconfig,
|
9 |
-
|
|
|
|
|
10 |
# Example for PyMuPDF (uncomment if needed, might require different packages on Alpine 3.13+):
|
11 |
# RUN apk add --no-cache mujs-dev freetype-dev harfbuzz-dev jpeg-dev openjpeg-dev zlib-dev tiff-dev lcms2-dev
|
12 |
|
|
|
5 |
# All subsequent commands (COPY, RUN, CMD) use this path
|
6 |
WORKDIR /app
|
7 |
|
8 |
+
# Install system dependencies including Rust, build tools, pkgconfig, and cmake
|
9 |
+
# sentencepiece-dev is not available in Alpine 3.21 repos, removed it.
|
10 |
+
# The sentencepiece python package will compile from source.
|
11 |
+
RUN apk add --no-cache cargo build-base pkgconfig cmake
|
12 |
# Example for PyMuPDF (uncomment if needed, might require different packages on Alpine 3.13+):
|
13 |
# RUN apk add --no-cache mujs-dev freetype-dev harfbuzz-dev jpeg-dev openjpeg-dev zlib-dev tiff-dev lcms2-dev
|
14 |
|