From 6f23ba288267c9ba61ae2e4a439b03ad6519e321 Mon Sep 17 00:00:00 2001 From: Norbert Walkowiak Date: Wed, 5 Jul 2023 21:53:24 +0200 Subject: [PATCH] e1c24ae0bff9713940ee5b6cc2538182 --- dockerfile | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/dockerfile b/dockerfile index 7bc9a6a..d8b73e5 100644 --- a/dockerfile +++ b/dockerfile @@ -1,11 +1,11 @@ -# Korzystanie z najnowszej wersji ubuntu FROM ubuntu:latest -# Instalujemy pakiety RUN apt update && apt upgrade -y \ - && apt install -y python3.10 python3-pip curl \ - && pip install --upgrade pip \ - && pip install --user kaggle \ + && apt install -y python3.10 python3-pip curl + +RUN pip install --upgrade pip + +RUN pip install --user kaggle \ && pip install --user pandas \ && pip install --user tensorflow==2.12.0 \ && pip install --user scikit-learn \ @@ -15,19 +15,16 @@ RUN apt update && apt upgrade -y \ && pip install --user opencv-python \ && pip install --user sacred \ && pip install --user pymongo - -#RUN echo 'export PATH="/root/.local/bin:$PATH"' >> ~/.bashrc -#ENV PATH="/root/.local/bin:${PATH}" -# Dodajemy katalog /app w kontenerze +#RUN echo 'export PATH="/root/.local/bin:$PATH"' >> ~/.bashrc +ENV PATH="/root/.local/bin:${PATH}" + RUN mkdir /app -# Ustawiamy katalog roboczy WORKDIR /app -# Kopiujemy zawartość COPY . /app/ -# Uruchomienie trenoowania modelu -#RUN python3.10 ./DL-model.py -#CMD python3.10 ./DL-model.py \ No newline at end of file +# uruchomienie skryptow +# RUN python3.10 ./DL-model.py +# CMD python3.10 ./DL-model.py \ No newline at end of file