Spaces:
Running
Running
FROM python:3.10 | |
ENV DEBIAN_FRONTEND=noninteractive | |
WORKDIR /app | |
EXPOSE 5050 | |
COPY . . | |
RUN apt-get update | |
RUN apt-get -y install git \ | |
curl \ | |
autoconf \ | |
bison \ | |
build-essential \ | |
libssl-dev \ | |
libyaml-dev \ | |
libreadline6-dev \ | |
zlib1g-dev \ | |
libncurses5-dev \ | |
libffi-dev \ | |
libgdbm6 \ | |
libgdbm-dev \ | |
libdb-dev \ | |
apt-utils | |
RUN python -m venv .env && \ | |
. .env/bin/activate && \ | |
pip install -r requirements.txt -q && \ | |
pip install --upgrade gradio && \ | |
touch .env/ok | |
CMD ["/bin/bash"] |