bldr / Dockerfile
lainlives's picture
Upload folder using huggingface_hub
cc2f72b verified
raw
history blame contribute delete
934 Bytes
FROM nvidia/cuda:12.8.0-cudnn-devel-ubuntu24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y
RUN apt-get update && \
apt-get upgrade -y
RUN apt-get install -y --no-install-recommends --fix-missing \
git \
git-lfs \
wget \
curl \
cmake \
build-essential \
libssl-dev \
zlib1g-dev \
libbz2-dev \
libreadline-dev \
libsqlite3-dev \
libncursesw5-dev \
xz-utils \
tk-dev \
libxml2-dev \
libxmlsec1-dev \
libffi-dev \
golang-go \
python3 \
liblzma-dev \
ffmpeg \
nvidia-driver-570 \
python3 \
python3-pip unzip curl original-awk grep sed zstd
RUN pip install -U setuptools pip --break-system-packages --ignore-installed && pip install fastapi huggingface_hub uvicorn virtualenv apscheduler --ignore-installed --break-system-package
WORKDIR /app
EXPOSE 7860
COPY . .
ENTRYPOINT python3 /app/start.py