Feat: Dockerfile fix

This commit is contained in:
Jakub Zaręba 2023-05-10 14:11:16 +02:00
parent 50e649b7fc
commit a614dc62b9

View File

@ -2,15 +2,15 @@ FROM ubuntu
RUN apt-get update && apt-get install -y python3 python3-pip unzip RUN apt-get update && apt-get install -y python3 python3-pip unzip
RUN python3 -m pip install kaggle numpy pandas torchvision torch RUN python3 -m pip install pandas numpy tensorflow imbalanced-learn sklearn
COPY ium_DL.py COPY train.py /app/train.py
COPY ./olympics-124-years-datasettill-2020/Athletes_winter_games.csv COPY predictions.py /app/predictions.py
COPY data.csv /app/data.csv
RUN chmod +r ./ium_DL.py COPY test_data.csv /app/test_data.csv
RUN chmod +r ./Athletes_winter_games.csv
RUN chmod +r ./olympics-124-years-datasettill-2020/Athletes_winter_games.csv
RUN python3 ./ium_DL.py
WORKDIR /app WORKDIR /app
RUN python3 train.py
RUN python3 predictions.py