Spaces:
Runtime error
Runtime error
FROM python:3.9 | |
WORKDIR /code | |
RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install | |
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
RUN dpkg -i google-chrome-stable_current_amd64.deb --fix-missing; apt-get -fy install | |
COPY ./requirements.txt /code/requirements.txt | |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
COPY . . | |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] |