2023-05-12 18:41:25 +02:00
|
|
|
FROM python:3.8-slim-buster
|
2023-04-04 15:31:03 +02:00
|
|
|
|
2023-05-12 18:41:25 +02:00
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
figlet \
|
|
|
|
unzip \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip install --upgrade pip
|
|
|
|
RUN pip install torch pandas numpy scikit-learn kaggle
|
|
|
|
|
|
|
|
COPY . /app
|
|
|
|
COPY ./train.py ./
|
|
|
|
COPY ./prediction.py ./
|
|
|
|
COPY ./Sales.csv ./
|
|
|
|
|
|
|
|
CMD python train.py
|
2023-04-04 16:38:04 +02:00
|
|
|
|
2023-04-04 23:18:57 +02:00
|
|
|
|
|
|
|
|