2022-04-03 12:24:05 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
RUN apt update && apt install -y
|
|
|
|
RUN apt-get install -y python3
|
|
|
|
RUN apt-get install -y unzip
|
|
|
|
RUN apt-get install -y python3-pip
|
|
|
|
|
2022-04-06 17:41:58 +02:00
|
|
|
RUN python3 -m pip install kaggle
|
|
|
|
RUN python3 -m pip install pandas
|
2022-04-03 12:24:05 +02:00
|
|
|
|
2022-04-06 18:55:31 +02:00
|
|
|
# RUN ln -s ~/.local/bin/kaggle /usr/bin/kaggle
|
2022-04-03 13:07:39 +02:00
|
|
|
|
2022-04-03 12:24:05 +02:00
|
|
|
WORKDIR /app
|
|
|
|
|
2022-04-06 18:55:31 +02:00
|
|
|
COPY ./house-price-dataset.zip ./
|
2022-04-03 12:24:05 +02:00
|
|
|
COPY ./startscript1.sh ./
|
|
|
|
COPY ./src/task1python.py ./src/task1python.py
|
2022-04-06 17:41:58 +02:00
|
|
|
COPY ./src/pythonTest.py ./src/pythonTest.py
|
|
|
|
|
2022-04-06 18:35:31 +02:00
|
|
|
RUN chmod +x ./startscript1.sh
|
2022-04-06 18:55:31 +02:00
|
|
|
RUN chmod +x ./src/task1python.py
|
|
|
|
RUN chmod +x ./src/pythonTest.py
|