This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -1,19 +1,9 @@
|
|||||||
# Base Image
|
# Base Image
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
# MAINTAINER of the Dockerfile
|
# MAINTAINER of the Dockerfile
|
||||||
|
MAINTAINER benschhold@gmail.com <benschold@gmail.com>
|
||||||
MAINTAINER Bikram <bikramatmedium@gmail.com>
|
|
||||||
|
|
||||||
#Copy the index.html file /usr/share/nginx/html/
|
|
||||||
|
|
||||||
COPY index.html /usr/share/nginx/html/
|
|
||||||
|
|
||||||
#Expose Nginx Port
|
#Expose Nginx Port
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
#Start NginxService
|
#Start NginxService
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
Reference in New Issue
Block a user