Skip to content

Commit

Permalink
add python libraries for ml in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
taheralfayad committed Jun 6, 2024
1 parent 80a6c7f commit 976447d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/nginx/Dockerfile.php.pdo.mysql
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ FROM php:8.2-fpm

# PHP extensions
RUN apt-get update && apt-get install -y libpng-dev zlib1g-dev git unzip

# Install Python for machine learning projects
RUN apt-get install -y python3 python3-pandas python3-sklearn python3-joblib python3-numpy python3-imblearn

RUN docker-php-ext-install gd pdo pdo_mysql

0 comments on commit 976447d

Please sign in to comment.