fix
This commit is contained in:
parent
5b8896595c
commit
c68c84cc42
32
Dockerfile
32
Dockerfile
@ -1,18 +1,20 @@
|
|||||||
FROM ubuntu:latest
|
FROM python:3.8-slim-buster
|
||||||
|
|
||||||
RUN apt update && apt install -y figlet
|
|
||||||
RUN apt install unzip -y
|
|
||||||
RUN apt install python3-pip -y
|
|
||||||
RUN pip3 install pandas
|
|
||||||
RUN pip3 install kaggle
|
|
||||||
RUN pip3 install scikit-learn
|
|
||||||
RUN pip3 install seaborn
|
|
||||||
|
|
||||||
RUN ln -s ~/.local/bin/kaggle /usr/bin/kaggle
|
|
||||||
ENV KAGGLE_USERNAME=witeks1833
|
|
||||||
ENV KAGGLE_KEY=""
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY ./script ./
|
|
||||||
CMD ["bash", "script"]
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user