Added learning with texts on port 8889

This commit is contained in:
2026-02-19 21:56:37 +02:00
parent 911c9d9bc3
commit d3594dc2d7
2 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
FROM php:7.4-apache
RUN apt update; \
apt upgrade; \
apt-get install -y default-mysql-client;
RUN docker-php-ext-install mysqli
COPY ./lwt_html /var/www/html
## COPY ./php.ini /usr/local/etc/php
EXPOSE 80:80
# FROM php:5.4-apache
# # Install all the packages that we'll need.
# RUN apt-get update && \
# apt-get install -y php5-mysqlnd git zlib1g-dev imagemagick libjpeg-dev libpng-dev \
# mysql-client && \
# docker-php-ext-install zip mysql mysqli gd
# COPY ./lwt_html /var/www/html
# EXPOSE 80:80