xproverse-backend / Dockerfile
RASHMIKA2006's picture
Update Dockerfile
f87f020 verified
Raw History Blame Contribute Delete
327 Bytes
# Use official Python image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy files
COPY requirements.txt .
COPY app.py .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port
EXPOSE 8000
# Run FastAPI app
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]