File size: 454 Bytes
3d289c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5006475
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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"]