This commit is contained in:
zgolebiewska 2024-05-26 13:50:20 +02:00
parent 28f9ae1a9c
commit 529e00d58f

View File

@ -1,8 +1,6 @@
FROM ubuntu:latest FROM ubuntu:latest
RUN apt-get update && apt-get install -y python3-pip unzip coreutils RUN apt-get update && apt-get install -y python3-pip unzip coreutils python3-venv
RUN pip install kaggle pandas scikit-learn tensorflow
WORKDIR /app WORKDIR /app
@ -11,4 +9,9 @@ COPY ./OrangeQualityData.csv ./
COPY ./orange_quality_model_tf.h5 ./ COPY ./orange_quality_model_tf.h5 ./
COPY ./predictions_tf.json ./ COPY ./predictions_tf.json ./
RUN python3 -m venv venv
RUN /bin/bash -c "source venv/bin/activate"
RUN apt-get install -y python3-pandas python3-scikit-learn python3-tensorflow
CMD ["python3", "data_processing.sh"] CMD ["python3", "data_processing.sh"]