26 lines
477 B
Docker
26 lines
477 B
Docker
FROM ubuntu:latest
|
|
RUN groupadd --gid 502 jenkins && \
|
|
useradd --shell /bin/bash --gid 502 --uid 501 jenkins
|
|
USER jenkins
|
|
|
|
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
|