e1c24ae0bff9713940ee5b6cc2538182

This commit is contained in:
Norbert Walkowiak 2023-07-05 21:53:24 +02:00
parent 9a7b3b389e
commit 6f23ba2882

View File

@ -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 \
@ -17,17 +17,14 @@ RUN apt update && apt upgrade -y \
&& pip install --user pymongo
#RUN echo 'export PATH="/root/.local/bin:$PATH"' >> ~/.bashrc
#ENV PATH="/root/.local/bin:${PATH}"
ENV PATH="/root/.local/bin:${PATH}"
# Dodajemy katalog /app w kontenerze
RUN mkdir /app
# Ustawiamy katalog roboczy
WORKDIR /app
# Kopiujemy zawartość
COPY . /app/
# Uruchomienie trenoowania modelu
# uruchomienie skryptow
# RUN python3.10 ./DL-model.py
# CMD python3.10 ./DL-model.py