For_Meta_Hackathon / Dockerfile
Muditsharmaaa's picture
Update Dockerfile to point to server.app
27bcfee
Raw History Blame Contribute Delete
322 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy project files
COPY . .
# Expose the default Hugging Face Space port
EXPOSE 7860
# Run the FastAPI server
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]