mistral-playground / Dockerfile
dhruv3d's picture
Updated dockerfile
5006475 verified
# Use the official Python image as a parent image
FROM python:3.11.3-slim
FROM python:3.9
WORKDIR /mistral_playground
COPY ./requirements.txt /mistral_playground/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /mistral_playground/requirements.txt
COPY . .
# Expose port 7860 for the FastAPI application
EXPOSE 7860
# Define the command to run your FastAPI application
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]