Spaces:
Build error
Build error
Joseph commited on
Moving to alpine
Browse files121234567889101112# Loading base. I'm using Debian, u can use whatever u want.FROM python:3.11.5-slim-bookworm# 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 apt update && apt install wget gcc cmake build-essential -yRUN 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