Skip to content

Commit

Permalink
adding listener port
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Pavageau committed Nov 23, 2018
1 parent 0e806d7 commit 1a3f017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ COPY index.html /usr/share/nginx/html/
COPY content.json /usr/share/nginx/html/
RUN /usr/sbin/nginx -t
CMD nginx -g 'daemon off;'
EXPOSE 80
EXPOSE 80 8080
1 change: 1 addition & 0 deletions default.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
server {
listen 80;
listen 8080;
root /usr/share/nginx/html/;

location / {
Expand Down

0 comments on commit 1a3f017

Please sign in to comment.