Add gcc and g++ installation to Dockerfile

* Install gcc and g++ to fix the llama-cpp-python build error
This commit is contained in:
Vishwanath Martur 2024-11-23 12:13:37 +05:30
parent bd9f8edda3
commit 2d4aea4638

View file

@ -1,6 +1,9 @@
# Use an official Python runtime as a parent image
FROM python:3.9-slim
# Install gcc and g++ to fix the llama-cpp-python build error
RUN apt-get update && apt-get install -y gcc g++
# Set the working directory in the container
WORKDIR /app