add docker support :3
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM php:8.3-apache
|
||||
|
||||
RUN a2enmod rewrite
|
||||
|
||||
COPY . /var/www/html
|
||||
|
||||
RUN sed -i 's|/var/www/html|/var/www/html/public|g' \
|
||||
/etc/apache2/sites-available/000-default.conf
|
||||
|
||||
RUN sed -i 's|AllowOverride None|AllowOverride All|g' \
|
||||
/etc/apache2/apache2.conf
|
||||
Reference in New Issue
Block a user