2024-04-02 19:46:56 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
2024-04-02 22:29:35 +02:00
|
|
|
apt-get install -y python3-pip && \
|
2024-05-20 15:59:51 +02:00
|
|
|
pip3 install kaggle pandas scikit-learn tensorflow matplotlib mlflow
|
2024-04-02 19:46:56 +02:00
|
|
|
|
2024-04-02 23:12:21 +02:00
|
|
|
RUN useradd -ms /bin/bash jenkins
|
|
|
|
|
|
|
|
RUN mkdir -p /.kaggle && chown -R jenkins /.kaggle
|
|
|
|
|
|
|
|
USER jenkins
|
|
|
|
|
2024-04-27 18:20:17 +02:00
|
|
|
COPY data_processing.py .
|
|
|
|
COPY create_model.py .
|
|
|
|
COPY helper.py .
|
2024-05-15 00:22:12 +02:00
|
|
|
COPY evaluate.py .
|
2024-04-27 18:20:17 +02:00
|
|
|
|
2024-04-02 19:46:56 +02:00
|
|
|
WORKDIR .
|