mirror of
https://github.com/taylanbakircioglu/flowfish.git
synced 2026-09-22 10:33:26 +00:00
d7ca50b387
Multi-cluster dependency mapping, real-time network monitoring, impact analysis, and CI/CD integration capabilities. Made-with: Cursor
29 lines
666 B
Docker
29 lines
666 B
Docker
# Simple static frontend for MVP
|
|
FROM nginx:alpine
|
|
|
|
# Remove default nginx website
|
|
RUN rm -rf /usr/share/nginx/html/*
|
|
|
|
# Copy static MVP HTML
|
|
COPY public/mvp.html /usr/share/nginx/html/index.html
|
|
|
|
# Copy nginx configuration
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
# Create non-root user
|
|
RUN addgroup -g 101 -S nginx && \
|
|
adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx 2>/dev/null || true
|
|
|
|
# Change ownership
|
|
RUN chown -R nginx:nginx /usr/share/nginx/html /var/cache/nginx /var/log/nginx /etc/nginx
|
|
|
|
# Switch to non-root user
|
|
USER nginx
|
|
|
|
# Expose port
|
|
EXPOSE 3000
|
|
|
|
# Start nginx
|
|
CMD ["nginx", "-g", "daemon off;"]
|
|
|