intensity_disaster / Dockerfile
GaneshNaik0108's picture
Create Dockerfile
991e214 verified
# Use Python 3.10 base image
FROM python:3.10
# Set working directory
WORKDIR /app
# Copy all files into the container
COPY . /app
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the default Hugging Face Space port
EXPOSE 7860
# Command to run the FastAPI app with uvicorn
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]