aapatre / Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE

Do you want to LEARN NEW STUFF for FREE? Don't worry, with the power of web-scraping and automation, this script will find the necessary Udemy coupons & enroll you for PAID UDEMY COURSES, ABSOLUTELY FREE!
GNU General Public License v3.0
3.17k stars 553 forks source link

Change dockerfile base image (python3.12-slim instead of alpine) => fatest and lightest ! #450

Closed laurentlemercier closed 6 months ago

laurentlemercier commented 6 months ago

Description

Using alpine image for python application is not the better way, see : https://pythonspeed.com/articles/alpine-docker-python/ for details

Fixes # (issue)

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

Images are fatest to create, and lightest (aapatre/udemy : alpine image, apaatre/udemyslim : python image) :

root@rasp-v4:/opt/udemy# docker image ls
REPOSITORY                TAG                 IMAGE ID       CREATED          SIZE
aapatre/udemyslim         latest              a5734deec135   30 minutes ago   222MB
aapatre/udemy             latest              ae0ec31408bc   21 hours ago     334MB