File size: 337 Bytes
35f287c
 
ef2614f
1095f7c
35f287c
ef2614f
35f287c
 
 
422d5d0
 
 
 
 
 
ef2614f
422d5d0
 
ef2614f
35f287c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#dockerfile

# Versione di Python
FROM python:3.12-slim

# Set della working directory  
WORKDIR /app
RUN ls

# Copia il file dei requisiti
COPY requirements.txt .

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

# Copia della directory in /app
COPY . /app

# Run dello script Python
CMD ["python", "app.py"]