updated dockerfile

This commit is contained in:
Jakub Henyk 2023-05-06 19:47:12 +02:00
parent a317c615ea
commit 86ec6b174a

View File

@ -10,11 +10,18 @@ WORKDIR /app
RUN apt-get install -y python3 RUN apt-get install -y python3
RUN apt-get install -y python3-pip RUN apt-get install -y python3-pip
RUN python3 -m pip install pandas RUN python3 -m pip install pandas
RUN python3 -m pip install numpy
RUN python3 -m pip install torch
COPY ./zadanie1.py ./ COPY ./zadanie1.py ./
COPY ./Customers.csv ./ COPY ./Customers.csv ./
COPY ./train.py ./
COPY ./test.py ./
RUN chmod +r ./Customers.csv RUN chmod +r ./Customers.csv
RUN chmod +x ./zadanie1.py RUN chmod +x ./zadanie1.py
RUN chmod +x ./train.py
RUN chmod +x ./test.py
CMD python3 ./zadanie1.py CMD python3 ./train.py
CMD python3 ./test.py