Zaktualizuj 'Dockerfile'

This commit is contained in:
Witold Woch 2023-05-12 23:53:25 +02:00
parent 9f88ab7365
commit d4dd0cd700

View File

@ -1,20 +1,22 @@
FROM python:3.8-slim-buster FROM python:3.8-slim-buster
WORKDIR /app
WORKDIR /
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
figlet \ figlet \
unzip \ unzip \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip RUN pip install --upgrade pip
RUN pip install torch pandas numpy scikit-learn kaggle RUN pip install torch pandas numpy scikit-learn kaggle
COPY . /app
COPY ./train.py ./
COPY ./prediction.py ./
COPY ./Sales.csv ./
CMD python train.py COPY . /