fix: support session cookie on HTTP deployment
This commit is contained in:
+15
@@ -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
|
||||
Reference in New Issue
Block a user