International Rice Research Institute commited on
Commit
c8d7187
·
verified ·
1 Parent(s): c786753

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -1,3 +1,7 @@
1
  FROM nginx:alpine
2
 
 
 
 
 
3
  COPY index.html /usr/share/nginx/html/index.html
 
1
  FROM nginx:alpine
2
 
3
+ # Replace default nginx config to use port 7860
4
+ RUN sed -i 's/listen\s\+80;/listen 7860;/g' /etc/nginx/conf.d/default.conf
5
+
6
+ # Copy your HTML
7
  COPY index.html /usr/share/nginx/html/index.html