20 lines
422 B
Docker
20 lines
422 B
Docker
FROM ubuntu:latest
|
|
|
|
RUN apt-get update && apt-get install -y python3-pip unzip coreutils python3-venv
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./data_processing.sh ./
|
|
COPY ./OrangeQualityData.csv ./
|
|
COPY ./orange_quality_model_tf.h5 ./
|
|
COPY ./predictions_tf.json ./
|
|
|
|
RUN python3 -m venv venv
|
|
RUN /bin/bash -c "source venv/bin/activate"
|
|
|
|
RUN pip install tensorflow
|
|
|
|
RUN apt-get install -y python3-sklearn
|
|
|
|
CMD ["python3", "data_processing.sh"]
|