add dockerfile
This commit is contained in:
parent
c454890634
commit
b98e9fc1c3
21
dockerfile
Normal file
21
dockerfile
Normal file
@ -0,0 +1,21 @@
|
||||
# korzystanie z najnowszej wersji ubuntu
|
||||
FROM ubuntu:latest
|
||||
|
||||
# Instalujemy pakiety
|
||||
RUN apt update \
|
||||
&& apt install -y python3 python3-pip curl \
|
||||
&& pip install --user kaggle \
|
||||
&& pip install --user pandas \
|
||||
&& pip install --user scikit-learn \
|
||||
&& pip install --user matplotlib
|
||||
|
||||
ENV PATH="/root/.local/bin:$PATH"
|
||||
|
||||
# Dodajemy katalog /app w kontenerze
|
||||
RUN mkdir /app
|
||||
|
||||
# Ustawiamy katalog roboczy
|
||||
WORKDIR /app
|
||||
|
||||
# Kopiujemy zawartość
|
||||
COPY . /app/
|
Loading…
Reference in New Issue
Block a user