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:30:18 +02:00
|
|
|
RUN apt-get update --fix-missing
|
2022-03-30 09:28:20 +02:00
|
|
|
RUN apt-get -y install python3-pip
|
|
|
|
RUN apt-get -y install 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
|