Skip to content

Commit c9b69cc

Browse files
author
Vinicius de Sa Souza
committed
mudando porta de 80 para 8080
1 parent a59ae15 commit c9b69cc

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ FROM php:5.5-apache
44
ENV http_proxy ${HTTP_PROXY}
55
ENV https_proxy ${HTTP_PROXY}
66

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
89

910
RUN chmod a+x /usr/bin/apache-run
1011

@@ -70,4 +71,4 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/
7071
# Run composer install
7172
CMD /usr/bin/apache-run
7273

73-
EXPOSE 80
74+
EXPOSE 8080

configs/ports.conf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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

0 commit comments

Comments
 (0)