Add Dockerfile

This commit is contained in:
s464903 2024-03-29 23:38:58 +01:00
parent 852376b0c9
commit 0f42cff4e1
1 changed files with 18 additions and 0 deletions

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
# Użyj obrazu Ubuntu jako bazowego
FROM ubuntu:latest
# Aktualizuj paczki i zainstaluj Python oraz pip
RUN apt update && \
apt install -y python3 python3-pip
# Zainstaluj potrzebne biblioteki Pythona
RUN pip3 install --user kaggle pandas
# Ustaw katalog roboczy
WORKDIR /app
# Skopiuj skrypty
COPY IUM_02_Dane.ipynb /app/
# Domyślne polecenie, które zostanie uruchomione w kontenerze po jego starcie
CMD ["python3", "IUM_02_Dane.ipynb"]