Spaces:
Sleeping
Sleeping
File size: 442 Bytes
48d5d8f | 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-slim
WORKDIR /app
# Enable the Gradio web interface for testing
ENV ENABLE_WEB_INTERFACE=true
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy entire project
COPY . .
# Install the package itself so absolute imports work
RUN pip install --no-cache-dir -e .
EXPOSE 8000
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"]
|