Files
TP_Docker/TP5/Exercice-2.2/Dockerfile

8 lines
186 B
Docker

FROM ubuntu:20.04
RUN apt-get update && \
apt-get install -y python3 python3-pip
COPY requirements.txt .
RUN pip3 install -r requirements.txt
COPY app.py .
CMD ["python3", "app.py"]