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-04-30 10:49:32 +02:00
|
|
|
RUN pip install --user 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:42:18 +02:00
|
|
|
RUN pip install --user -r requirements.txt
|
|
|
|
|
|
|
|
CMD ["python3", "model.py"]
|