ium_444356/Dockerfile
Maciej Czajka defc9740dd
All checks were successful
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head This commit looks good
update dockerfile, add jenkinsfile_registry, registry.py
2022-05-11 20:49:26 +02:00

46 lines
1.1 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
#CMD ["python3", "./dllib.py"]