File size: 282 Bytes
0fe2e26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.9

# Imposta la directory di lavoro
WORKDIR /app

# Copia tutti i file
COPY . /app

# Installa le dipendenze
RUN pip install --no-cache-dir -r requirements.txt

# Espone la porta del server
EXPOSE 7860

# Comando per avviare il server FastAPI
CMD ["python", "app.py"]