parent
ef512a6c43
commit
cc90764bad
@ -1,6 +1,8 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y python3-pip unzip coreutils python3-venv
|
RUN apt-get update && apt-get install -y python3-pip unzip coreutils
|
||||||
|
|
||||||
|
RUN pip install kaggle pandas scikit-learn tensorflow
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -9,9 +11,4 @@ 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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user