2023-04-18 20:34:49 +02:00
|
|
|
|
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y git python3 python3-pip curl \
|
|
|
|
&& curl -O https://bootstrap.pypa.io/get-pip.py \
|
|
|
|
&& python3 get-pip.py --user \
|
|
|
|
&& rm get-pip.py \
|
2023-04-19 19:11:00 +02:00
|
|
|
&& pip3 install --user kaggle \
|
|
|
|
&& pip3 install --user pandas \
|
|
|
|
&& pip3 install --user seaborn \
|
2023-06-17 20:15:49 +02:00
|
|
|
&& pip3 install --user scikit-learn \
|
|
|
|
&& pip3 install --user tensorflow
|
2023-04-18 20:34:49 +02:00
|
|
|
|
|
|
|
ENV PATH="/root/.local/bin:$PATH"
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY . /app
|
|
|
|
|
2023-06-17 20:10:28 +02:00
|
|
|
CMD ["python", "create_dataset.py"]
|
|
|
|
CMD ["python", "train.py"]
|
|
|
|
CMD ["python", "pred.py"]
|