Update 'dockerfile'
This commit is contained in:
parent
9c540b7825
commit
d480026b04
13
dockerfile
13
dockerfile
@ -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"]
|
Loading…
Reference in New Issue
Block a user