ium_464906/Dockerfile

21 lines
452 B
Docker
Raw Normal View History

2024-04-02 20:34:21 +02:00
FROM ubuntu:latest
2024-05-26 13:50:20 +02:00
RUN apt-get update && apt-get install -y python3-pip unzip coreutils python3-venv
2024-04-02 20:34:21 +02:00
WORKDIR /app
COPY ./data_processing.sh ./
2024-04-30 10:49:32 +02:00
COPY ./OrangeQualityData.csv ./
2024-05-26 13:45:44 +02:00
COPY ./orange_quality_model_tf.h5 ./
COPY ./predictions_tf.json ./
2024-04-30 10:49:32 +02:00
2024-05-26 13:50:20 +02:00
RUN python3 -m venv venv
RUN /bin/bash -c "source venv/bin/activate"
2024-05-26 13:52:50 +02:00
RUN pip install --upgrade pip
RUN pip install tensorflow
RUN apt-get install -y python3-sklearn
2024-05-26 13:50:20 +02:00
2024-05-26 13:45:44 +02:00
CMD ["python3", "data_processing.sh"]