Spaces:
Sleeping
Sleeping
Commit
Β·
a5a3f80
1
Parent(s):
8c6c759
moving all to mvc folder
Browse files- Dockerfile +8 -2
- {app β mvc/app}/.htaccess +0 -0
- {app β mvc/app}/config/config.php +0 -0
- {app β mvc/app}/controllers/.gitkeep +0 -0
- {app β mvc/app}/helpers/.gitkeep +0 -0
- {app β mvc/app}/init.php +0 -0
- {app β mvc/app}/libraries/Controller.php +0 -0
- {app β mvc/app}/libraries/Core.php +0 -0
- {app β mvc/app}/libraries/Database.php +0 -0
- {app β mvc/app}/models/.gitkeep +0 -0
- {app β mvc/app}/views/home/index.php +0 -0
- {app β mvc/app}/views/inc/footer.php +0 -0
- {app β mvc/app}/views/inc/header.php +0 -0
- {public β mvc/public}/css/styles.css +0 -0
- {public β mvc/public}/img/.gitkeep +0 -0
- {public β mvc/public}/index.php +0 -0
- {public β mvc/public}/js/main.js +0 -0
Dockerfile
CHANGED
@@ -88,6 +88,11 @@ RUN echo "" >> /home/user/apache2/conf/httpd.conf
|
|
88 |
RUN echo "<FilesMatch \.php$>" >> /home/user/apache2/conf/httpd.conf
|
89 |
RUN echo "SetHandler application/x-httpd-php" >> /home/user/apache2/conf/httpd.conf
|
90 |
RUN echo "</FilesMatch>" >> /home/user/apache2/conf/httpd.conf
|
|
|
|
|
|
|
|
|
|
|
91 |
# RUN which php-cgi;
|
92 |
# RUN a2enmod php
|
93 |
RUN which php
|
@@ -95,8 +100,9 @@ RUN updatedb
|
|
95 |
RUN locate index.php;
|
96 |
USER user
|
97 |
|
98 |
-
COPY app /home/user/apache2/htdocs/app
|
99 |
-
COPY public /home/user/apache2/htdocs/public
|
|
|
100 |
COPY .htaccess /home/user/apache2/htdocs/.htaccess
|
101 |
|
102 |
|
|
|
88 |
RUN echo "<FilesMatch \.php$>" >> /home/user/apache2/conf/httpd.conf
|
89 |
RUN echo "SetHandler application/x-httpd-php" >> /home/user/apache2/conf/httpd.conf
|
90 |
RUN echo "</FilesMatch>" >> /home/user/apache2/conf/httpd.conf
|
91 |
+
|
92 |
+
RUN <Directory "/home/user/apache2/htdocs/app"> >> /home/user/apache2/conf/httpd.conf
|
93 |
+
RUN AllowOverride All >> /home/user/apache2/conf/httpd.conf
|
94 |
+
RUN </Directory> >> /home/user/apache2/conf/httpd.conf
|
95 |
+
|
96 |
# RUN which php-cgi;
|
97 |
# RUN a2enmod php
|
98 |
RUN which php
|
|
|
100 |
RUN locate index.php;
|
101 |
USER user
|
102 |
|
103 |
+
# COPY app /home/user/apache2/htdocs/app
|
104 |
+
# COPY public /home/user/apache2/htdocs/public
|
105 |
+
COPY mvc /home/user/apache2/htdocs/mvc
|
106 |
COPY .htaccess /home/user/apache2/htdocs/.htaccess
|
107 |
|
108 |
|
{app β mvc/app}/.htaccess
RENAMED
File without changes
|
{app β mvc/app}/config/config.php
RENAMED
File without changes
|
{app β mvc/app}/controllers/.gitkeep
RENAMED
File without changes
|
{app β mvc/app}/helpers/.gitkeep
RENAMED
File without changes
|
{app β mvc/app}/init.php
RENAMED
File without changes
|
{app β mvc/app}/libraries/Controller.php
RENAMED
File without changes
|
{app β mvc/app}/libraries/Core.php
RENAMED
File without changes
|
{app β mvc/app}/libraries/Database.php
RENAMED
File without changes
|
{app β mvc/app}/models/.gitkeep
RENAMED
File without changes
|
{app β mvc/app}/views/home/index.php
RENAMED
File without changes
|
{app β mvc/app}/views/inc/footer.php
RENAMED
File without changes
|
{app β mvc/app}/views/inc/header.php
RENAMED
File without changes
|
{public β mvc/public}/css/styles.css
RENAMED
File without changes
|
{public β mvc/public}/img/.gitkeep
RENAMED
File without changes
|
{public β mvc/public}/index.php
RENAMED
File without changes
|
{public β mvc/public}/js/main.js
RENAMED
File without changes
|