diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1a3fb8d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM ubuntu:latest + +WORKDIR /app + +COPY . /app + +RUN apt update + +RUN apt install python3 python3-pip -y + +RUN pip3 install --no-cache-dir kaggle==1.6.6 matplotlib==3.6.3 scikit-learn==1.2.2 torch==2.0.0 torchvision==0.15.1 + +RUN pip3 install --no-cache-dir Pillow==10.2.0 + +EXPOSE 80 + +CMD ["python", "your_script_name.py"] diff --git a/requirements.txt b/requirements.txt index 2c54000..1ed36d5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ kaggle==1.6.6 matplotlib==3.6.3 -Pillow==9.3.0 Pillow==10.2.0 scikit_learn==1.2.2 torch==2.0.0+cu117