From 241a8cb6b5d6bd63af2c049227cdb65b518da912 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Mon, 26 Aug 2024 15:56:30 +0800 Subject: [PATCH 1/2] add a dockerfile --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a99d538 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +# m.daocloud.io/docker.io/library/python +FROM python:3.9 +RUN python3 -m pip install requests BeautifulSoup4 +ADD download_slides.py . +CMD python3 download_slides.py + + From a57e94bf043caf54cf8307e68809b571a9b278e4 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Mon, 26 Aug 2024 15:32:43 +0800 Subject: [PATCH 2/2] add .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..34c46c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.DS_Store +downloaded_slides/