Initial commit: Neon Vortex application with Helm chart

This commit is contained in:
Neon Vortex
2025-11-21 19:51:50 -05:00
commit ce0f57c738
37 changed files with 2673 additions and 0 deletions

31
htlm/Dockerfile Normal file
View File

@@ -0,0 +1,31 @@
# Multi-stage build for multi-architecture support
FROM nginx:alpine
# Remove default nginx config
RUN rm /etc/nginx/conf.d/default.conf
# Copy custom nginx config
COPY nginx.conf /etc/nginx/conf.d/neon-vortex.conf
# Copy application files
COPY . /usr/share/nginx/html/
# Create a non-root user for nginx
RUN chown -R nginx:nginx /usr/share/nginx/html && \
chown -R nginx:nginx /var/cache/nginx && \
chown -R nginx:nginx /var/log/nginx && \
touch /var/run/nginx.pid && \
chown -R nginx:nginx /var/run/nginx.pid
# Switch to non-root user
USER nginx
# Expose port 8080
EXPOSE 8080
# Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1
# Start nginx
CMD ["nginx", "-g", "daemon off;"]