51 lines
1.2 KiB
Docker
Executable File
51 lines
1.2 KiB
Docker
Executable File
FROM ubuntu:latest
|
|
FROM python:3.9
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y python3-pip
|
|
RUN pip3 install --upgrade pip
|
|
RUN pip3 install --upgrade Pillow
|
|
RUN pip3 install kaggle
|
|
RUN pip3 install pandas
|
|
RUN pip3 install matplotlib
|
|
RUN pip3 install sklearn
|
|
RUN pip3 install numpy
|
|
RUN pip3 install wheel --no-deps -U
|
|
RUN pip3 install torch
|
|
RUN pip3 install sacred
|
|
RUN pip3 install GitPython
|
|
RUN pip3 install pymongo
|
|
RUN pip3 install mlflow
|
|
#RUN pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/#tensorflow-0.12.0-py3-none-any.whl
|
|
#RUN pip3 install keras
|
|
RUN apt-get install unzip
|
|
|
|
ARG CUTOFF
|
|
ARG KAGGLE_USERNAME
|
|
ARG KAGGLE_KEY
|
|
ENV CUTOFF=${CUTOFF}
|
|
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
|
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
|
|
|
RUN mkdir /dane
|
|
|
|
WORKDIR /app
|
|
|
|
COPY download.sh .
|
|
COPY Zajecia_2/main.py .
|
|
COPY Biblioteka_DL/dllib.py .
|
|
COPY Biblioteka_DL/dllib-sacred.py .
|
|
COPY Biblioteka_DL/evaluate.py .
|
|
COPY Biblioteka_DL/dllib-mlflow.py .
|
|
COPY predict.py .
|
|
COPY registry.py .
|
|
COPY Biblioteka_DL/all_games.csv .
|
|
|
|
RUN ./download.sh $CUTOFF
|
|
|
|
RUN pip3 install dvc
|
|
RUN pip3 install dvc[ssh] paramiko
|
|
RUN apt install -y sshpass openssh-client
|
|
RUN useradd -r -u 111 jenkins
|
|
#CMD ["python3", "./dllib.py"]
|