Ready for release: Includes Auto-cron, Installer, and Schema

This commit is contained in:
Timothy Allen
2026-01-10 16:00:06 -06:00
commit 7fc2f2bc1f
9 changed files with 608 additions and 0 deletions

28
Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
FROM php:8.3-apache
# 1. Install system dependencies (Git, Unzip, Cron)
RUN apt-get update && apt-get install -y \
git \
unzip \
libzip-dev \
cron \
&& docker-php-ext-install zip pdo pdo_mysql
# 2. Install Composer globally
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
# 3. Enable Apache mod_rewrite
RUN a2enmod rewrite
# 4. Copy the entrypoint script and make it executable
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
# 5. Set working directory
WORKDIR /var/www/html
# 6. Set Entrypoint
ENTRYPOINT ["docker-entrypoint.sh"]
# 7. Default command
CMD ["apache2-foreground"]