floorplan-detect / Dockerfile
intisarhasnain's picture
Update Dockerfile
11f24bf verified
raw
history blame contribute delete
306 Bytes
FROM python:3.11
WORKDIR /app
# Fix for libGL missing error
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]