2024-04-02 20:34:21 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
2024-05-26 12:42:18 +02:00
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
python3-pip \
|
|
|
|
unzip \
|
|
|
|
coreutils
|
2024-04-02 20:34:21 +02:00
|
|
|
|
2024-05-26 12:53:57 +02:00
|
|
|
RUN pip3 install kaggle pandas scikit-learn tensorflow
|
2024-04-02 20:34:21 +02:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY ./data_processing.sh ./
|
2024-05-26 12:42:18 +02:00
|
|
|
COPY ./model.py ./
|
2024-04-30 10:49:32 +02:00
|
|
|
COPY ./OrangeQualityData.csv ./
|
2024-05-26 12:42:18 +02:00
|
|
|
COPY ./requirements.txt ./
|
2024-04-30 10:49:32 +02:00
|
|
|
|
2024-05-26 12:53:57 +02:00
|
|
|
RUN pip3 install -r requirements.txt
|
2024-05-26 12:42:18 +02:00
|
|
|
|
|
|
|
CMD ["python3", "model.py"]
|