Fixed dockerfile apache script
This commit is contained in:
parent
89b6e491f7
commit
163c585050
|
@ -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 && \
|
||||
|
|
Loading…
Reference in New Issue