/[LeafOK_CVS]/fenglin/Dockerfile/dockerfile.apache
ViewVC logotype

Annotation of /fenglin/Dockerfile/dockerfile.apache

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations)
Mon Jan 5 12:13:00 2026 UTC (2 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.2: +5 -3 lines
Update ignore files

1 sysadm 1.1 # Use the official Apache image
2     FROM httpd:2.4
3    
4     # Copy the custom configuration file
5     COPY ./Dockerfile/httpd-vhosts.conf /usr/local/apache2/conf/extra/httpd-vhosts.conf
6     RUN sed -i 's/#Include conf\/extra\/httpd-vhosts.conf/Include conf\/extra\/httpd-vhosts.conf/' /usr/local/apache2/conf/httpd.conf
7    
8     # Copy web application files
9     COPY ./bbs /var/www/html/bbs
10 sysadm 1.3 COPY ./gen_ex /var/www/html/gen_ex
11 sysadm 1.1 COPY ./js /var/www/html/js
12     COPY ./lib /var/www/html/lib
13     COPY ./manage /var/www/html/manage
14 sysadm 1.3 RUN mkdir -p /var/www/html/bbs/cache \
15     /var/www/html/bbs/upload \
16     /var/www/html/bbs/images/face/upload_photo \
17     /var/www/html/conf /var/www/html/stat
18 sysadm 1.1
19     # Set ownership to www-data user and group
20     RUN chown -R www-data:www-data /var/www/html

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1