2022-03-30 00:10:03 +02:00
|
|
|
# Nasz obraz będzie dzidziczył z obrazu Ubuntu w wersji latest
|
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
# Instalujemy niezbędne zależności. Zwróć uwagę na flagę "-y" (assume yes)
|
2022-03-30 09:21:37 +02:00
|
|
|
RUN apt update
|
|
|
|
RUN apt install -y pip
|
|
|
|
RUN apt install -y nano
|
|
|
|
|
2022-03-30 00:10:03 +02:00
|
|
|
RUN pip install --user kaggle
|
|
|
|
RUN pip install --user pandas
|
|
|
|
RUN pip install --user numpy
|
|
|
|
RUN pip install --user sklearn
|
|
|
|
|
|
|
|
WORKDIR /dataset
|
|
|
|
COPY ./script.py ./
|
|
|
|
COPY ./download.sh ./
|
|
|
|
COPY ./imdb_top_1000.csv ./
|
|
|
|
|
|
|
|
CMD python3 ./script.py
|