seanpedrickcase commited on
Commit
11881a6
·
1 Parent(s): c79d667

Updated Dockerfile with packages needed to compile Python wheels (for llama-cpp-python)

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -1,8 +1,14 @@
1
  # Stage 1: Build dependencies and download models
2
  FROM public.ecr.aws/docker/library/python:3.11.9-slim-bookworm AS builder
3
 
4
- # Install system dependencies. Need to specify -y for poppler to get it to install
5
- RUN apt-get update \
 
 
 
 
 
 
6
  && apt-get clean \
7
  && rm -rf /var/lib/apt/lists/*
8
 
 
1
  # Stage 1: Build dependencies and download models
2
  FROM public.ecr.aws/docker/library/python:3.11.9-slim-bookworm AS builder
3
 
4
+ # Install system dependencies.
5
+ RUN apt-get update && apt-get install -y \
6
+ build-essential \
7
+ gcc \
8
+ g++ \
9
+ cmake \
10
+ python3-dev \
11
+ libffi-dev \
12
  && apt-get clean \
13
  && rm -rf /var/lib/apt/lists/*
14