plan-reset / Dockerfile
AlyanAkram's picture
Update Dockerfile
509fcc5 verified
raw
history blame contribute delete
315 Bytes
FROM python:3.10-slim
# Use root as working directory
WORKDIR /
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all files into the container root
COPY . .
# Run the FastAPI app from root
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]