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:25:01 +02:00
|
|
|
RUN apt-get update
|
2022-03-30 09:23:22 +02:00
|
|
|
RUN apt-get install -y python-pip
|
|
|
|
RUN apt-get install -y nano
|
2022-03-30 09:21:37 +02:00
|
|
|
|
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
|