Spaces:
Configuration error
Configuration error
Delete Dockerfile.txt
Browse files123456789101112131415161718# Use a lightweight Python image
FROM python:3.10-slim
# Set working directory inside the container
WORKDIR /app
# Copy requirements and install them
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all remaining files (like app.py and the TFLite model)
COPY . .
# Expose the port FastAPI will run on
EXPOSE 7860
# Run the app with uvicorn
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]Dockerfile.txtDeleted-18