Spaces:
Running
Running
| FROM python:3.10 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1 curl \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install "setuptools<80" wheel hydra-core==1.0.7 | |
| RUN pip install --no-cache-dir torch | |
| RUN pip install --no-build-isolation \ | |
| git+https://github.com/Getmany1/omegaconf@2.0_branch | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir \ | |
| -r requirements.txt | |
| COPY . . | |
| CMD ["python", "app.py"] |