2024-04-02 22:12:47 +02:00
|
|
|
FROM ubuntu:latest
|
2024-04-02 23:33:39 +02:00
|
|
|
RUN adduser --disabled-password --gecos '' jenkins
|
2024-04-02 23:30:17 +02:00
|
|
|
USER jenkins
|
2024-04-02 22:12:47 +02:00
|
|
|
|
|
|
|
ENV KAGGLE_USERNAME=adamwieczrek
|
|
|
|
ARG KAGGLE_KEY
|
|
|
|
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
|
|
|
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
ENV TZ=Etc/UTC
|
|
|
|
|
|
|
|
RUN apt update && \
|
|
|
|
apt install -y python3 python3-pip unzip
|
|
|
|
|
|
|
|
RUN pip install kaggle pandas seaborn scikit-learn
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY dataset_stats.py /app/
|
|
|
|
COPY IUM_02.py /app/
|
|
|
|
|
|
|
|
CMD ["python3", "IUM_02.py"]
|
|
|
|
|
|
|
|
CMD bash
|