Update Jenkinsfile and Dockerfile

This commit is contained in:
zgolebiewska 2024-05-26 12:53:57 +02:00
parent 2e05521d32
commit 5a4b79b5d5

View File

@ -5,7 +5,7 @@ RUN apt-get update && apt-get install -y \
unzip \ unzip \
coreutils coreutils
RUN pip install --user kaggle pandas scikit-learn tensorflow RUN pip3 install kaggle pandas scikit-learn tensorflow
WORKDIR /app WORKDIR /app
@ -14,6 +14,6 @@ COPY ./model.py ./
COPY ./OrangeQualityData.csv ./ COPY ./OrangeQualityData.csv ./
COPY ./requirements.txt ./ COPY ./requirements.txt ./
RUN pip install --user -r requirements.txt RUN pip3 install -r requirements.txt
CMD ["python3", "model.py"] CMD ["python3", "model.py"]