File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ FROM php:5.5-apache
4
4
ENV http_proxy ${HTTP_PROXY}
5
5
ENV https_proxy ${HTTP_PROXY}
6
6
7
- ADD apache-run.sh /usr/bin/apache-run
7
+ COPY configs/ports.conf /etc/apache2/ports.conf
8
+ COPY apache-run.sh /usr/bin/apache-run
8
9
9
10
RUN chmod a+x /usr/bin/apache-run
10
11
@@ -70,4 +71,4 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/
70
71
# Run composer install
71
72
CMD /usr/bin/apache-run
72
73
73
- EXPOSE 80
74
+ EXPOSE 8080
Original file line number Diff line number Diff line change
1
+ # If you just change the port or add more ports here, you will likely also
2
+ # have to change the VirtualHost statement in
3
+ # /etc/apache2/sites-enabled/000-default.conf
4
+
5
+ Listen 8080
6
+
7
+ <IfModule ssl_module >
8
+ Listen 443
9
+ </IfModule >
10
+
11
+ <IfModule mod_gnutls.c >
12
+ Listen 443
13
+ </IfModule >
14
+
15
+ # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
You can’t perform that action at this time.
0 commit comments