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 Biblioteka_DL/all_games.csv . RUN ./download.sh $CUTOFF #CMD ["python3", "./dllib.py"]