Rathalos commited on
Commit
8dd4229
·
verified ·
1 Parent(s): dbd024b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -9,6 +9,12 @@ RUN apt-get update && apt-get install -y \
9
  python3-pip \
10
  && rm -rf /var/lib/apt/lists/*
11
 
 
 
 
12
 
13
- # Comando per mantenere il container in esecuzione e avere accesso al terminale
14
- CMD ["bash"]
 
 
 
 
9
  python3-pip \
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
+ # Copia i file del progetto
13
+ COPY . /app
14
+ WORKDIR /app
15
 
16
+ # Installa le dipendenze Python
17
+ RUN pip3 install subprocess
18
+
19
+ # Esegui lo script Python
20
+ CMD ["python3", "app.py"]