e1c24ae0bff9713940ee5b6cc2538182
This commit is contained in:
parent
9a7b3b389e
commit
6f23ba2882
25
dockerfile
25
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
|
||||
# uruchomienie skryptow
|
||||
# RUN python3.10 ./DL-model.py
|
||||
# CMD python3.10 ./DL-model.py
|
Loading…
Reference in New Issue
Block a user