e1c24ae0bff9713940ee5b6cc2538182
This commit is contained in:
parent
9a7b3b389e
commit
6f23ba2882
17
dockerfile
17
dockerfile
@ -1,11 +1,11 @@
|
|||||||
# Korzystanie z najnowszej wersji ubuntu
|
|
||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
# Instalujemy pakiety
|
|
||||||
RUN apt update && apt upgrade -y \
|
RUN apt update && apt upgrade -y \
|
||||||
&& apt install -y python3.10 python3-pip curl \
|
&& apt install -y python3.10 python3-pip curl
|
||||||
&& pip install --upgrade pip \
|
|
||||||
&& pip install --user kaggle \
|
RUN pip install --upgrade pip
|
||||||
|
|
||||||
|
RUN pip install --user kaggle \
|
||||||
&& pip install --user pandas \
|
&& pip install --user pandas \
|
||||||
&& pip install --user tensorflow==2.12.0 \
|
&& pip install --user tensorflow==2.12.0 \
|
||||||
&& pip install --user scikit-learn \
|
&& pip install --user scikit-learn \
|
||||||
@ -17,17 +17,14 @@ RUN apt update && apt upgrade -y \
|
|||||||
&& pip install --user pymongo
|
&& pip install --user pymongo
|
||||||
|
|
||||||
#RUN echo 'export PATH="/root/.local/bin:$PATH"' >> ~/.bashrc
|
#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
|
RUN mkdir /app
|
||||||
|
|
||||||
# Ustawiamy katalog roboczy
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Kopiujemy zawartość
|
|
||||||
COPY . /app/
|
COPY . /app/
|
||||||
|
|
||||||
# Uruchomienie trenoowania modelu
|
# uruchomienie skryptow
|
||||||
# RUN python3.10 ./DL-model.py
|
# RUN python3.10 ./DL-model.py
|
||||||
# CMD python3.10 ./DL-model.py
|
# CMD python3.10 ./DL-model.py
|
Loading…
Reference in New Issue
Block a user