ium_444356/Dockerfile

36 lines
812 B
Docker
Raw Normal View History

2022-04-02 12:43:11 +02:00
FROM ubuntu:latest
2022-03-31 18:49:25 +02:00
RUN apt-get update
2022-04-01 13:24:19 +02:00
RUN apt-get install -y python3-pip
2022-04-02 12:53:40 +02:00
RUN pip3 install --upgrade pip
RUN pip3 install --upgrade Pillow
2022-04-02 12:49:57 +02:00
RUN pip3 install kaggle
2022-04-02 12:43:11 +02:00
RUN pip3 install pandas
RUN pip3 install matplotlib
RUN pip3 install sklearn
2022-04-21 00:36:14 +02:00
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
2022-03-31 18:49:25 +02:00
RUN apt-get install unzip
2022-04-02 14:28:42 +02:00
ARG CUTOFF
2022-04-02 13:50:50 +02:00
ARG KAGGLE_USERNAME
ARG KAGGLE_KEY
2022-04-02 14:28:42 +02:00
ENV CUTOFF=${CUTOFF}
2022-04-02 13:50:50 +02:00
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
ENV KAGGLE_KEY=${KAGGLE_KEY}
2022-03-31 18:49:25 +02:00
2022-04-02 14:23:36 +02:00
RUN mkdir /dane
2022-04-02 13:42:37 +02:00
WORKDIR /app
2022-03-31 18:49:25 +02:00
COPY download.sh .
COPY Zajecia_2/main.py .
COPY dllib.py .
COPY all_games.csv .
2022-03-31 18:49:25 +02:00
2022-05-02 14:58:08 +02:00
RUN ./download.sh $CUTOFF
2022-04-21 00:36:14 +02:00
#CMD ["python3", "./dllib.py"]