tesst
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -37,6 +37,9 @@ RUN wget https://github.com/phpmyadmin/phpmyadmin/archive/refs/tags/RELEASE_5_1_
|
|
| 37 |
RUN sed -i 's/Listen 80/Listen 7860/' /etc/apache2/ports.conf \
|
| 38 |
&& sed -i 's/:80/:7860/' /etc/apache2/sites-available/000-default.conf
|
| 39 |
|
|
|
|
|
|
|
|
|
|
| 40 |
# Set correct permissions for directories
|
| 41 |
RUN chown -R www-data:www-data /var/www/html \
|
| 42 |
&& find /var/www/html -type d -exec chmod 755 {} \; \
|
|
|
|
| 37 |
RUN sed -i 's/Listen 80/Listen 7860/' /etc/apache2/ports.conf \
|
| 38 |
&& sed -i 's/:80/:7860/' /etc/apache2/sites-available/000-default.conf
|
| 39 |
|
| 40 |
+
# Set Apache DocumentRoot to Laravel's public directory
|
| 41 |
+
RUN sed -i 's|/var/www/html|/var/www/html/public|' /etc/apache2/sites-available/000-default.conf
|
| 42 |
+
|
| 43 |
# Set correct permissions for directories
|
| 44 |
RUN chown -R www-data:www-data /var/www/html \
|
| 45 |
&& find /var/www/html -type d -exec chmod 755 {} \; \
|