fresh start
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled

This commit is contained in:
Bhavnoor Singh Saroya 2025-08-25 12:41:18 -07:00
parent c80ee1054b
commit c297ad6085
26 changed files with 4578 additions and 243 deletions

View file

@ -12,16 +12,16 @@ RUN npm run build
# Serve Stage
FROM nginx:stable-alpine
# Copy built React files into nginx public folder
# Copy built frontend into nginx public folder
COPY --from=build /app/dist /usr/share/nginx/html
# Remove default nginx config
# Remove default Nginx config
RUN rm /etc/nginx/conf.d/default.conf
# Add your own nginx config
COPY nginx.conf /etc/nginx/conf.d
# Add custom Nginx config
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Expose port 80
# Expose port 80 (not 8080 inside container)
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]