Spaces:
Sleeping
Sleeping
File size: 380 Bytes
8e28da3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
FROM python:3.11
# copy requirements
COPY requirements.txt requirements.txt
# install
RUN apt-get update && apt-get clean;
RUN apt-get install -y libgl1-mesa-dev
RUN apt-get install -y libssl-dev
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
COPY .env .env
COPY model/ model/
# COPY view/ view/
COPY app.py app.py
ENV PYTHONUNBUFFERED 1
CMD gradio app.py |