adding the Dockerfile
This commit is contained in:
parent
0af8e15f44
commit
a8b7859e22
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Use the official Nginx image as the base image
|
||||||
|
FROM nginx:alpine
|
||||||
|
|
||||||
|
# Copy the local files to the Nginx default directory
|
||||||
|
COPY . /usr/share/nginx/html
|
||||||
|
|
||||||
|
# Expose port 80
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
|
# Start Nginx when the container launches
|
||||||
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
Loading…
Reference in New Issue
Block a user