memex-in commited on
Commit
13a60cc
·
verified ·
1 Parent(s): 52b6e4f

Update exdocker

Browse files
Files changed (1) hide show
  1. exdocker +14 -0
exdocker CHANGED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a lightweight Nginx base image
2
+ FROM nginx:alpine
3
+
4
+ # Copy the custom index.html file into the Nginx default directory
5
+ # Nginx serves content from /usr/share/nginx/html by default
6
+ COPY index.html /usr/share/nginx/html/index.html
7
+
8
+ # Expose port 80, which is a privileged port (<1024)
9
+ # Nginx's master process runs as root to bind to this port,
10
+ # then worker processes drop privileges.
11
+ EXPOSE 80
12
+
13
+ # The default Nginx CMD will start the server
14
+ # CMD ["nginx", "-g", "daemon off;"]