Zaktualizuj 'Dockerfile'
This commit is contained in:
parent
9f88ab7365
commit
d4dd0cd700
14
Dockerfile
14
Dockerfile
@ -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 . /
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user