From 37f260a0e72417cd8e3ab3cd98aff8e6540ffdfd Mon Sep 17 00:00:00 2001 From: Abhiraj Rode <98207222+Abhiraj-1604@users.noreply.github.com> Date: Thu, 10 Oct 2024 23:08:20 +0530 Subject: [PATCH 1/2] Create Dockerfile --- 013-random choice picker/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 013-random choice picker/Dockerfile diff --git a/013-random choice picker/Dockerfile b/013-random choice picker/Dockerfile new file mode 100644 index 0000000..436ad09 --- /dev/null +++ b/013-random choice picker/Dockerfile @@ -0,0 +1,15 @@ +#e the official NGINX image as the base image +FROM nginx:alpine + +# Set the working directory to /usr/share/nginx/html +WORKDIR /usr/share/nginx/html + +# Copy the current directory contents into the container +COPY . . + + +# Expose the port defined by the PORT environment variable +EXPOSE 8080 + +# Start NGINX +CMD ["nginx", "-g", "daemon off;"] From f014f75ed134b304f9bf7524a02bf0badd0335d3 Mon Sep 17 00:00:00 2001 From: Abhiraj Rode <98207222+Abhiraj-1604@users.noreply.github.com> Date: Fri, 11 Oct 2024 21:06:28 +0530 Subject: [PATCH 2/2] Create Dockerfile --- 045-netflix mobile navigation/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 045-netflix mobile navigation/Dockerfile diff --git a/045-netflix mobile navigation/Dockerfile b/045-netflix mobile navigation/Dockerfile new file mode 100644 index 0000000..436ad09 --- /dev/null +++ b/045-netflix mobile navigation/Dockerfile @@ -0,0 +1,15 @@ +#e the official NGINX image as the base image +FROM nginx:alpine + +# Set the working directory to /usr/share/nginx/html +WORKDIR /usr/share/nginx/html + +# Copy the current directory contents into the container +COPY . . + + +# Expose the port defined by the PORT environment variable +EXPOSE 8080 + +# Start NGINX +CMD ["nginx", "-g", "daemon off;"]