Update 'dockerfile'

This commit is contained in:
Marcin Rostkowski 2023-04-20 11:35:22 +02:00
parent 9c540b7825
commit d480026b04

View File

@ -2,15 +2,10 @@ FROM ubuntu:latest
RUN apt-get update && \
apt-get install -y python3 python3-pip
RUN pip3 install pandas scikit-learn
RUN pip3 install pandas scikit-learn kaggle
WORKDIR /app
COPY . /app
COPY skryptdockerfile.py /app
# Kopiowanie skryptów do obrazu
COPY skrypt1.py /app/skrypt1.py
COPY skrypt2.py /app/skrypt2.py
# Uruchamianie skryptów
RUN python3 /app/skrypt1.py
RUN python3 /app/skrypt2.py
CMD ["python3", "skryptdockerfile.py"]