Spaces:
Build error

File size: 523 Bytes
a578f19
9d70826
f10e07f
 
c7f1b9e
f10e07f
c7f1b9e
f10e07f
c7f1b9e
f10e07f
 
 
 
 
9d70826
 
f10e07f
 
a578f19
f10e07f
c7f1b9e
9d70826
f10e07f
9d70826
c7f1b9e
9d70826
f10e07f
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
FROM python:3.10-slim

ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1

# COLMAP, FFmpeg aur Open3D ke liye zaroori system libraries
RUN apt-get update && apt-get install -y \
    colmap \
    ffmpeg \
    libgl1-mesa-glx \
    libglib2.0-0 \
    libgomp1 \
    libxi6 \
    libxrender1 \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt

COPY app.py .

EXPOSE 7860

CMD ["python", "app.py"]