Spaces:
Runtime error
Runtime error
File size: 1,358 Bytes
d3dd2d6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# Use the official image as a parent image.
FROM ubuntu:22.04
# Update the system
RUN apt-get -y update && apt-get install -y bash \
build-essential \
wget \
make \
git \
curl \
sudo \
ca-certificates \
poppler-utils \
python3 \
python3-pip \
nodejs \
npm && \
rm -rf /var/lib/apt/lists/*
# Install python packages
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
python3 -m pip install --no-cache-dir torch torchvision torchaudio && \
python3 -m pip install --no-cache-dir \
transformers \
langchain \
langchain[llms] \
pypdf \
tokenizers \
sentencepiece \
openai \
librosa \
datasets \
jupyter \
jupyterlab \
pandas \
openpyxl \
matplotlib \
numpy \
seaborn \
chromadb \
tiktoken \
unstructured \
deeplake \
ipyfilechooser \
ipywidgets \
widgetsnbextension \
jupyter_contrib_nbextensions \
jupyter_nbextensions_configurator \
jupyterlab-git \
gradio \
streamlit \
nb-clean \
nbdime \
nbdev
# Enable jupyter nbextension
# RUN jupyter nbextension enable --py widgetsnbextension
# Run nbdev_install_quarto
RUN sudo nbdev_install_quarto
# Indicate the Dockerfile owner
LABEL maintainer="Charreau Bell"
# Command to run on container start
CMD [ "/bin/bash" ]
|