ium_464979/Dockerfile

26 lines
477 B
Docker
Raw Normal View History

2024-04-02 22:12:47 +02:00
FROM ubuntu:latest
2024-04-02 23:30:17 +02:00
RUN groupadd --gid 502 jenkins && \
useradd --shell /bin/bash --gid 502 --uid 501 jenkins
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