Skip to content

Commit

Permalink
Merge pull request #2 from pchaigno/patch-1
Browse files Browse the repository at this point in the history
Set default listening port to 80
  • Loading branch information
aditighag authored Sep 7, 2021
2 parents fff86ca + 9fd47ad commit 03dd416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM k8s.gcr.io/echoserver:1.10
RUN sed -i 's/listen 8080/listen [::]:PORT ipv6only=off/g' /etc/nginx/nginx.conf
ENV PORT 8080
ENV PORT 80
ENTRYPOINT sed -i "s/PORT/${PORT}/g" /etc/nginx/nginx.conf && /usr/local/bin/run.sh

0 comments on commit 03dd416

Please sign in to comment.