ium_444356/Dockerfile
Maciej Czajka f261c87e0b
Some checks failed
s444356-training/pipeline/head There was a failure building this commit
update Dockerfile and dllib.py
2022-05-02 15:14:32 +02:00

36 lines
840 B
Docker
Executable File

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