update docker
This commit is contained in:
parent
f9db4ac453
commit
0c3c78b4cc
|
|
@ -31,11 +31,6 @@ RUN apk add --no-cache \
|
|||
# config httpd.conf
|
||||
RUN sed -i '/LoadModule rewrite_module/s/^#//g' /etc/apache2/httpd.conf
|
||||
|
||||
USER apache
|
||||
RUN touch /var/log/apache2/access.log
|
||||
RUN touch /var/log/apache2/error.log
|
||||
|
||||
USER root
|
||||
# Install PHP and extenions
|
||||
RUN apk add --no-cache \
|
||||
php81-common \
|
||||
|
|
|
|||
|
|
@ -20,8 +20,7 @@
|
|||
"require": {
|
||||
"magento/composer-dependency-version-audit-plugin": "~0.1",
|
||||
"magento/composer-root-update-plugin": "~2.0",
|
||||
"magento/product-community-edition": "2.4.6-p3",
|
||||
"mageplaza/module-smtp": "^4.7"
|
||||
"magento/product-community-edition": "2.4.6-p3"
|
||||
},
|
||||
"autoload": {
|
||||
"exclude-from-classmap": [
|
||||
|
|
|
|||
|
|
@ -9,9 +9,11 @@ if [ ! -d "$PWD/vendor" ]; then
|
|||
fi
|
||||
|
||||
source "$PWD/.env"
|
||||
# Do something after get environment
|
||||
|
||||
# Do something get environment
|
||||
|
||||
echo '' > ./var/log/apache2_error.log
|
||||
echo '' > ./var/log/apache2_access.log
|
||||
chown apache:apache -R ./var/log/apache2_*
|
||||
chown -R apache:apache /var/www/html
|
||||
chmod -R 775 /var/www/html
|
||||
httpd -D FOREGROUND
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
*.log
|
||||
!.gitignore
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.16.3. Set the 'ServerName' directive globally to suppress this message
|
||||
[Mon Dec 04 02:58:06.683632 2023] [mpm_prefork:notice] [pid 18] AH00163: Apache/2.4.58 (Unix) PHP/8.1.26 OpenSSL/3.1.4 configured -- resuming normal operations
|
||||
[Mon Dec 04 02:58:06.683682 2023] [core:notice] [pid 18] AH00094: Command line: 'httpd -D FOREGROUND'
|
||||
Loading…
Reference in New Issue