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 09:32:51 +02:00
|
|
|
RUN pip3 install --user pandas
|
|
|
|
RUN pip3 install --user numpy
|
|
|
|
RUN pip3 install --user sklearn
|
2022-03-30 00:10:03 +02:00
|
|
|
|
|
|
|
WORKDIR /dataset
|
|
|
|
COPY ./script.py ./
|
|
|
|
COPY ./download.sh ./
|
|
|
|
COPY ./imdb_top_1000.csv ./
|
|
|
|
|
|
|
|
CMD python3 ./script.py
|