prof-2 / Dockerfile
Rathalos's picture
Update Dockerfile
4ef420d verified
raw
history blame
407 Bytes
# Usa un'immagine di base di Ubuntu
FROM ubuntu:20.04
# Installare pacchetti necessari
RUN apt-get update && apt-get install -y \
bash \
git \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get python
# Copia i file del progetto
COPY . /app
WORKDIR /app
# Installa le dipendenze Python
RUN pip3 install subprocess
# Esegui lo script Python
CMD ["python3", "app.py"]