22 lines
447 B
Docker
22 lines
447 B
Docker
FROM ubuntu:latest
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y python3
|
|
RUN apt-get install -y python3-pip
|
|
RUN apt-get install -y unzip
|
|
|
|
RUN pip3 install pandas
|
|
RUN pip3 install kaggle
|
|
RUN pip3 install scikit-learn
|
|
|
|
RUN ln -s ~/.local/bin/kaggle /usr/bin/kaggle
|
|
ENV KAGGLE_USERNAME="grzegorzgapiski"
|
|
ENV KAGGLE_KEY=""
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./data_preparation.py ./
|
|
|
|
COPY ./2019-european-parliament-election-in-poland-data ./
|
|
|
|
CMD ./data_preparation.py |