From 1d4b599ab48f6746caf3326aa5da4f3041fd9e3d Mon Sep 17 00:00:00 2001 From: s451499 Date: Wed, 24 Apr 2024 03:14:08 +0200 Subject: [PATCH] dockerfile --- ium_05/dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ium_05/dockerfile diff --git a/ium_05/dockerfile b/ium_05/dockerfile new file mode 100644 index 0000000..b1317a9 --- /dev/null +++ b/ium_05/dockerfile @@ -0,0 +1,14 @@ +# Nasz obraz będzie dziedziczył z obrazu Ubuntu w wersji latest +FROM ubuntu:latest + +# Instalujemy niezbędne zależności. Zwróć uwagę na flagę "-y" (assume yes) +RUN apt update && apt install -y figlet python3 python3-pip + +# Instalacja pakietów Pythona za pomocą PIP +RUN pip3 install pandas kaggle torch sklearn + +# Dodajemy nasz skrypt Pythona do obrazu Docker +COPY learning.ipynb /learning.ipynb + +# Ustawiamy domyślną komendę do uruchomienia naszego skryptu Pythona +CMD ["python3", "/learning.ipynb"]