Comment out saveData.php copy command in Dockerfile and add vhost.conf for Apache configuration
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -7,7 +7,7 @@ WORKDIR /var/www/html
|
||||
RUN mkdir /app
|
||||
COPY vhost.conf /etc/apache2/sites-available/000-default.conf
|
||||
|
||||
COPY adf/saveData.php /var/www/html/saveData.php
|
||||
# COPY adf/saveData.php /var/www/html/saveData.php
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
17
vhost.conf
Normal file
17
vhost.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
# File: .docker/apache/vhost.conf
|
||||
LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName localhost
|
||||
DocumentRoot /app
|
||||
|
||||
<Directory "/app">
|
||||
Options Indexes FollowSymLinks Includes execCGI
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
allow from all
|
||||
</Directory>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user