diff --git a/library/devops/Dockerfile b/library/devops/Dockerfile index dc79c17..8d8d24e 100644 --- a/library/devops/Dockerfile +++ b/library/devops/Dockerfile @@ -1,12 +1,6 @@ # Use an official Nginx image as the base image FROM nginx:latest -# Remove default Nginx configuration -RUN rm /etc/nginx/conf.d/default.conf - -# Copy custom Nginx configuration -COPY nginx.conf /etc/nginx/conf.d - # Set the working directory in the container WORKDIR /usr/share/nginx/html diff --git a/signup_form/devops/Dockerfile b/signup_form/devops/Dockerfile index d85a2dd..70162aa 100644 --- a/signup_form/devops/Dockerfile +++ b/signup_form/devops/Dockerfile @@ -7,9 +7,6 @@ WORKDIR /app # Copy the HTML, CSS, and JavaScript files from the current directory to /app COPY . /app -# Copy the Nginx configuration file to /etc/nginx/conf.d/ -COPY ./nginx.conf /etc/nginx/conf.d/default.conf - # Expose port 80 for HTTP traffic EXPOSE 80