softwareDevelopment commited on
Commit
089420f
·
verified ·
1 Parent(s): 409647e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
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