Spaces:
Build error
Build error
Joseph commited on
Moving to alpine
Browse files1234567891011# Loading base. I'm using Debian, u can use whatever u want.FROM python:3.11.5-slim-bookworm# Just for sure everything will be fine.USER root# Installing gcc compiler and main library.RUN apt update && apt install wget gcc cmake build-essential -yRUN CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python# Copying files into folder and making it working dir.123456789101112# Loading base. I'm using Alpine, u can use whatever u want.FROM python:3.11.9-alpine3.20# Just for sure everything will be fine.# ALSO ITS BAD! But since its docker, probably.. screw it?USER root# Installing gcc compiler and main library.RUN apk update && apk add wget build-base -yRUN CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python# Copying files into folder and making it working dir.
Dockerfile+4-3