From ac249330a1d5c6eb0013d0a3eaa8a0be5d8b475b Mon Sep 17 00:00:00 2001 From: Joshua Higgins Date: Thu, 3 Jul 2025 00:34:57 -0400 Subject: [PATCH] undo --- Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2bac1af..6f41c43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,5 +22,14 @@ FROM nginx:latest # Copy the built Vite application from the build stage to Nginx's web root COPY --from=build /app/dist /usr/share/nginx/html +# Remove the default Nginx configuration file +RUN rm /etc/nginx/conf.d/default.conf + +# Copy a custom Nginx configuration file (see example below) +COPY nginx.conf /etc/nginx/conf.d/nginx.conf + # Expose port 80 for web traffic -EXPOSE 80 \ No newline at end of file +EXPOSE 80 + +# Start Nginx when the container launches +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file