Fixed dockerfile apache script
Build and Push Alpine PHP Image / Build and push image (push) Successful in 53s Details
Build and Push Alpine PHP Image / Build and push apache image (push) Successful in 1m13s Details
Build and Push Ubuntu PHP 8.3 Image / Build and push image (push) Successful in 59s Details

This commit is contained in:
Aditya Prima 2024-09-22 20:51:57 +07:00
parent 89b6e491f7
commit 163c585050
1 changed files with 1 additions and 2 deletions

View File

@ -28,8 +28,7 @@ RUN mkdir -p ${APP_DIR} && \
mkdir -p ${SERVER_ROOT}/run && \
ln -s /usr/lib/apache2 ${SERVER_ROOT}/modules && \
chmod -R 755 ${SERVER_ROOT}/logs && \
chmod -R 755 ${SERVER_ROOT/run} && \
usermod -d ${SERVER_ROOT}/htdocs apache
chmod -R 755 ${SERVER_ROOT/run}
# CONFIGURE HTTPD
RUN sed -i "s|ServerRoot /var/www|ServerRoot ${SERVER_ROOT}|" /etc/apache2/httpd.conf && \