add dockerfile
This commit is contained in:
parent
03070c7f4d
commit
5107ac4825
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -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"]
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user