ium_464953/Dockerfile

26 lines
485 B
Docker
Raw Permalink Normal View History

2024-03-30 13:04:13 +01:00
FROM ubuntu:latest
ENV KAGGLE_USERNAME=gulczas
ENV KAGGLE_KEY=default_key
RUN apt-get update && \
apt-get install -y \
python3 \
python3-pip \
wget \
unzip \
&& rm -rf /var/lib/apt/lists/*
2024-04-14 21:59:34 +02:00
RUN pip3 install pandas scikit-learn requests kaggle numpy
2024-03-30 13:04:13 +01:00
WORKDIR /app
2024-04-14 21:59:34 +02:00
COPY model_creator.py /app/
COPY use_model.py /app/
COPY run_py_scripts.sh /app/
2024-03-30 13:04:13 +01:00
2024-04-14 21:59:34 +02:00
RUN chmod +x model_creator.py
RUN chmod +x use_model.py
CMD ["bash", "run_py_scripts.sh"]