Initial commit

This commit is contained in:
2026-01-07 14:09:59 +08:00
commit 8a00aa71d5
939 changed files with 40616 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM php:8.2-apache
RUN apt-get update && apt-get install -y \
libpng-dev libjpeg62-turbo-dev libfreetype6-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install gd mysqli pdo pdo_mysql \
&& rm -rf /var/lib/apt/lists/*
# Copy app into web root (index.php is in src/)
COPY src/ /var/www/html/
# Enable useful Apache module and set permissions
RUN a2enmod rewrite && chown -R www-data:www-data /var/www/html
EXPOSE 80