ium_444507/Dockerfile

45 lines
1.1 KiB
Docker

FROM ubuntu:latest
RUN apt-get update && apt-get install -y locales && locale-gen en_US.UTF-8
# COPY ./kaggle.json /root/.kaggle/kaggle.json
WORKDIR /app
RUN apt-get update && apt-get install -y
RUN apt-get install -y python3
RUN apt-get install -y unzip
RUN apt-get install -y python3-pip
ENV PYTHONIOENCODING=utf-8
RUN apt-get install -y locales locales-all
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN python3 -m pip install kaggle
RUN python3 -m pip install pandas
RUN python3 -m pip install wheel --no-deps -U
RUN python3 -m pip install torch
RUN python3 -m pip install sklearn
RUN python3 -m pip install matplotlib
RUN python3 -m pip install sacred
RUN python3 -m pip install pymongo
RUN python3 -m pip install mlflow
RUN python3 -m pip install dvc
RUN python3 -m pip install dvc[ssh] paramiko
RUN python3 -m pip freeze
ENV PATH="/root/.local/bin:${PATH}"
COPY . .
ARG KAGGLE_USERNAME
ARG KAGGLE_KEY
RUN chmod a+x ./stats-docker.sh
RUN chmod a+x ./script-stats.py
RUN useradd -r -u 111 jenkins
# RUN ./download.sh 117928
RUN python3 ./script-download.py
# RUN python3 ./lab05_deepLearning.py