fix: support session cookie on HTTP deployment

This commit is contained in:
2026-06-11 14:46:34 +07:00
parent 97d7a49477
commit a5dada6464
3 changed files with 25 additions and 5 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM php:8.2-apache
# Install mysqli extension
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
# Copy source code to Apache root directory
COPY . /var/www/html/
# Ensure Apache has permission to access uploads directory
RUN mkdir -p /var/www/html/uploads && \
chown -R www-data:www-data /var/www/html && \
chmod -R 755 /var/www/html
# Expose port 80
EXPOSE 80